Changeset 80311 in vbox
- Timestamp:
- Aug 15, 2019 8:53:11 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/gvm.h
r80310 r80311 114 114 } GVMCPU; 115 115 #ifdef VBOX_BUGREF_9217 116 # if RT_GNUC_PREREQ(4, 6) && defined(__cplusplus) 117 # pragma GCC diagnostic push 118 # endif 119 # if RT_GNUC_PREREQ(4, 3) && defined(__cplusplus) 120 # pragma GCC diagnostic ignored "-Winvalid-offsetof" 121 # endif 116 122 AssertCompileMemberAlignment(GVMCPU, idCpu, 4096); 117 123 AssertCompileMemberAlignment(GVMCPU, gvmm, 64); … … 120 126 # endif 121 127 AssertCompileSizeAlignment(GVMCPU, 4096); 128 # if RT_GNUC_PREREQ(4, 6) && defined(__cplusplus) 129 # pragma GCC diagnostic pop 130 # endif 122 131 #else 123 132 AssertCompileMemberOffset(GVMCPU, gvmm, 64); … … 229 238 } GVM; 230 239 #ifdef VBOX_BUGREF_9217 240 # if RT_GNUC_PREREQ(4, 6) && defined(__cplusplus) 241 # pragma GCC diagnostic push 242 # endif 243 # if RT_GNUC_PREREQ(4, 3) && defined(__cplusplus) 244 # pragma GCC diagnostic ignored "-Winvalid-offsetof" 245 # endif 231 246 AssertCompileMemberAlignment(GVM, gvmm, 64); 232 247 AssertCompileMemberAlignment(GVM, gmm, 64); … … 237 252 AssertCompileMemberAlignment(GVM, aCpus, 4096); 238 253 AssertCompileSizeAlignment(GVM, 4096); 254 # if RT_GNUC_PREREQ(4, 6) && defined(__cplusplus) 255 # pragma GCC diagnostic pop 256 # endif 239 257 #else 240 258 AssertCompileMemberOffset(GVM, gvmm, 64);
Note:
See TracChangeset
for help on using the changeset viewer.