Changeset 96ef156
- Timestamp:
- Dec 13, 2024, 5:29:12 PM (4 days ago)
- Branches:
- master
- Children:
- d30c229
- Parents:
- fb0f04d
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/debug.hfa
rfb0f04d r96ef156 23 23 #define __cfaabi_dbg_ctx __PRETTY_FUNCTION__ 24 24 #define __cfaabi_dbg_ctx2 , __PRETTY_FUNCTION__ 25 #define __cfaabi_dbg_ctx_param const char caller[]26 #define __cfaabi_dbg_ctx_param2 , const char caller[]25 #define __cfaabi_dbg_ctx_param __attribute__((unused)) const char caller[] 26 #define __cfaabi_dbg_ctx_param2 , __attribute__((unused)) const char caller[] 27 27 #define __cfaabi_dbg_ctx_fwd caller 28 28 #define __cfaabi_dbg_ctx_fwd2 , caller -
libcfa/src/iostream.hfa
rfb0f04d r96ef156 183 183 }; 184 184 185 // FIXME: Should be an anonymous inner union of _Ostream_Manip. 186 // Hoisting manually to work around warning of #294. 187 union _Ostream_Manip_Mode { 188 unsigned char all; 189 _Ostream_Flags flags; 190 }; 191 185 192 forall( T ) 186 193 struct _Ostream_Manip { … … 188 195 int wd, pc; // width, precision: signed for computations 189 196 char base; // numeric base / floating-point style 190 union { 191 unsigned char all; 192 _Ostream_Flags flags; 193 }; 197 inline _Ostream_Manip_Mode; 194 198 }; // _Ostream_Manip 195 199 … … 459 463 } // distribution 460 464 461 forall( T & | sized( T ) ) 465 // FIXME: `| sized(T)` seems to be working around a bug, but it is logically unnecessary. 466 // Including sized(T) causes a warning that is telling us to get rid of it. 467 #pragma GCC diagnostic push 468 #pragma GCC diagnostic ignored "-Wunused-parameter" 469 forall( T & | sized(T) ) 462 470 struct _Istream_Manip { 463 471 T & val; // polymorphic base-type … … 465 473 bool ignore; // do not change input argument 466 474 }; // _Istream_Manip 475 #pragma GCC diagnostic pop 467 476 468 477 #define INPUT_FMT_DECL( T ) \
Note: See TracChangeset
for help on using the changeset viewer.