Changeset 3804
- Timestamp:
- May 13, 2019, 12:39:09 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEWS
r3796 r3804 4 4 5 5 version 0.17 (released NOT YET) 6 - cxx11 features are now available also when YAT_WITH_CXX11 is not 7 defined; user can still turn off cxx11 features with 8 YAT_WITHOUT_CXX11 6 9 7 10 A complete list of closed tickets can be found here [[br]] -
trunk/yat/utility/config_public.h.in
r3792 r3804 60 60 // 61 61 // If user want to disable all cxx11 features, they should #define 62 // YAT_WITHOUT_CXX11; if cxx11 features are desired, user should 63 // #define YAT_WITH_CXX11 and cxx11 features will be enabled if found 64 // when building yat (see comment below). 65 #ifndef YAT_WITH_CXX11 66 # ifndef YAT_WITHOUT_CXX11 67 # /// default behaviour is that cxx11 features are disabled; this is 68 # /// likely to change in future versions 69 # define YAT_HAVE_CXX11__ 0 62 // YAT_WITHOUT_CXX11. 63 #ifdef YAT_WITHOUT_CXX11 64 # ifdef YAT_WITH_CXX11 65 # error "cannot set both YAT_WITH_CXX11 and YAT_WITHOUT_CXX11" 70 66 # else 71 67 # /// YAT_WITHOUT_CXX11 defined by user, turn off features … … 73 69 # endif 74 70 #else 75 # ifdef YAT_WITHOUT_CXX11 76 # error "cannot set both YAT_WITH_CXX11 and YAT_WITHOUT_CXX11" 77 # endif 78 # /// YAT_WITH_CXX11 defined by user, turn on features 71 # /// turn on features, if YAT_WITHOUT_CXX11 not defined 79 72 # define YAT_HAVE_CXX11__ 1 80 73 #endif 81 74 82 75 83 // See comment and logic above for how to use public macros 84 // YAT_WITH_CXX11 and YAT_WITHOUT_CXX11 to affect whether 85 // YAT_HAVE_CXX11__ is defined. 76 // YAT_HAVE_CXX11__ is defined, unless YAT_WITHOUT_CXX11 is defined 77 // (see above) 86 78 #if YAT_HAVE_CXX11__ 87 79 // Defines below are defined depending on tests performed during
Note: See TracChangeset
for help on using the changeset viewer.