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)
Nov 25 2025, 4:48 PM
Unknown Object (File)
Nov 13 2025, 1:08 PM
Unknown Object (File)
Nov 10 2025, 3:24 AM
Unknown Object (File)
Nov 5 2025, 10:58 AM
Unknown Object (File)
Nov 5 2025, 2:33 AM
Unknown Object (File)
Nov 5 2025, 2:08 AM
Unknown Object (File)
Nov 4 2025, 11:22 PM
Unknown Object (File)
Oct 30 2025, 4:21 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