Changeset ceb4cc1 for tests/enum_tests/planet.cfa
- Timestamp:
- Jul 14, 2026, 10:03:22 PM (2 hours ago)
- Branches:
- master
- Parents:
- a12816e7
- File:
-
- 1 edited
-
tests/enum_tests/planet.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/enum_tests/planet.cfa
ra12816e7 rceb4cc1 37 37 // Planet rp = fromInt( prng( countof( Planet ) ) ); // select random orbiting body 38 38 39 #if __GNUC__ >= 12 // valid GNU compiler diagnostic ? 39 40 #pragma GCC diagnostic push 40 41 // FIX ME: false positive with gcc > 11, so disable. 41 42 #pragma GCC diagnostic ignored "-Wdangling-pointer" 43 #endif // __GNUC__ >= 12 44 42 45 Planet rp = fromInt( countof( Planet ) - 1 ); // non-random for test suite 46 47 #if __GNUC__ >= 12 // valid GNU compiler diagnostic ? 43 48 #pragma GCC diagnostic pop 49 #endif // __GNUC__ >= 12 44 50 45 51 choose( rp ) { // implicit breaks
Note:
See TracChangeset
for help on using the changeset viewer.