Changeset 2058
- Timestamp:
- Sep 11, 2009, 5:04:35 AM (14 years ago)
- Location:
- trunk/yat/utility
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/OptionInFile.h
r2057 r2058 55 55 */ 56 56 OptionInFile(CommandLine& cmd, std::string name, std::string desc, 57 bool required=false) ;57 bool required=false) YAT_DEPRECATE_GCC_PRE4_3; 58 58 59 59 /** -
trunk/yat/utility/OptionOutFile.h
r2057 r2058 56 56 */ 57 57 OptionOutFile(CommandLine& cmd, std::string name, std::string desc, 58 bool required=false) YAT_DEPRECATE ;58 bool required=false) YAT_DEPRECATE_GCC_PRE4_3; 59 59 60 60 /** -
trunk/yat/utility/deprecate.h
r1707 r2058 41 41 #endif 42 42 43 // With GCC version < 4.3 deprecation of classes yields no 44 // warning. Therefore, we deprecate the compilers of those classes 45 // with this macro YAT_DEPRECATE_GCC_PRE4_3, which is mute for 46 // compiler GCC 4.3 and newer and for others compilers than GCC. 47 #ifndef YAT_DEPRECATE_GCC_PRE4_3 48 #if defined(__GNUC__) && ((__GNUC__<4) || (__GNUC__==4 && __GNUC_MINOR__<3)) 49 /// if GCC version before 4.3 define as YAT_DEPRECATE defined above 50 #define YAT_DEPRECATE_GCC_PRE4_3 YAT_DEPRECATE 51 #else 52 /// with GCC 4.3 and newer (or other compilers) define it as empty 53 #define YAT_DEPRECATE_GCC_PRE4_3 43 54 #endif 55 #endif 56 57 #endif
Note: See TracChangeset
for help on using the changeset viewer.