Page MenuHomeFreeBSD

bhyve: Fix the build with gcc
ClosedPublic

Authored by andrew on Jun 10 2024, 5:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Feb 26, 8:02 PM
Unknown Object (File)
Wed, Feb 26, 6:15 AM
Unknown Object (File)
Tue, Feb 25, 10:18 PM
Unknown Object (File)
Tue, Feb 25, 8:04 PM
Unknown Object (File)
Feb 2 2025, 9:56 PM
Unknown Object (File)
Jan 25 2025, 5:11 PM
Unknown Object (File)
Jan 11 2025, 12:59 AM
Unknown Object (File)
Dec 13 2024, 2:44 PM

Details

Summary

gcc doesn't like const and static to not be at the start of a variable
declaration. Update the gdb_regset arrays to make it more obvious they
are arrays of struct gdb_reg and to fix the gcc build.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable