Changeset 2884 in Sophya for trunk/SophyaLib/BaseTools/machdefs_mkmf.h
- Timestamp:
- Jan 4, 2006, 2:30:31 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/machdefs_mkmf.h
r2867 r2884 222 222 /* __KCC__ : KCC, version >= 3.3 is required */ 223 223 /* __SGICC__ : SGI (IRIX64) CC compiler */ 224 /* __INTEL_COMPILER : : INTEL compiler */ 225 /* __IBMCPP__ : AIX (IBM) xlC c++ compiler */ 224 226 225 227 /***********************************************************************/ 226 228 /* Compiler-specific stuff */ 227 229 /***********************************************************************/ 228 229 /* Some features will be *required* for Planck. Which ones ? */230 230 231 231 /* ANSI_TEMPLATES : use ANSI syntax for explicit templates */ … … 245 245 /* NO_IOS_COMPLEX : does not have operator << defined for complex */ 246 246 /* DECL_TEMP_SPEC : Template specialization declaration */ 247 /* TSNMLUPG4 : Two stage name look-up scheme (g++>3.4) */ 247 248 248 249 … … 269 270 #endif 270 271 272 /* Most compilers dot not implement two level name lookup for templates 273 introduced by gcc >= 3.4 274 */ 275 #ifdef TSNMLUPG4 276 #undef TSNMLUPG4 277 #endif 271 278 272 279 /* now the specific things */ … … 284 291 285 292 #ifdef __GNUG__ 293 #define GCC_VERSION (__GNUC__ * 10000 \ 294 + __GNUC_MINOR__ * 100 \ 295 + __GNUC_PATCHLEVEL__) 286 296 #define ANSI_TEMPLATES 287 297 /* … … 294 304 #define HAS_IOS_BIN 295 305 #define HAS_IOS_NOCREATE 306 #if ( GCC_VERSION >= 30000 ) 307 #undef DECL_TEMP_SPEC 308 #define DECL_TEMP_SPEC template <> 309 #endif 310 #if ( GCC_VERSION >= 34000 ) 311 /* Two level name look-up scheme for templates introduced from gcc 3.4 */ 312 #define TSNMLUPG4 313 #endif 314 296 315 #endif 297 316
Note:
See TracChangeset
for help on using the changeset viewer.