Changes between Initial Version and Version 1 of Ticket #904


Ignore:
Timestamp:
May 13, 2019, 12:20:10 AM (4 years ago)
Author:
Peter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #904

    • Property Owner changed from Jari Häkkinen to Peter
    • Property Status changed from new to accepted
    • Property Milestone changed from yat 0.x+ to yat 0.17
  • Ticket #904 – Description

    initial v1  
    55#endif
    66}}}
    7 and the (private) macro, `YAT_HAVE_CXX11__` is only `#defines`, if user `#defines` `YAT_WITH_CXX11`. Internally, yat `#defines` `YAT_WITH_CXX11` (in config.h), so the libyat is in this case built with cxx11 features (meaning both speedups and such as well as API extensions are implemented in the lib). When external code is compiled against yat, cxx11 features are only available if the user `#defines` `YAT_WITH_CXX11`. I suggest we modify this requirement, so the default behaviour is that cxx11 features are available if they've been found during configure (but configure does not turn on switches such as -std=c++11).
     7and the (private) macro, `YAT_HAVE_CXX11__` is only `#defined`, if user `#defines` `YAT_WITH_CXX11`. Internally, yat `#defines` `YAT_WITH_CXX11` (in config.h), so the libyat is in this case built with cxx11 features (meaning both speedups and such as well as API extensions are implemented in the lib). When external code is compiled against yat, cxx11 features are only available if the user `#defines` `YAT_WITH_CXX11`. I suggest we modify this requirement, so the default behaviour is that cxx11 features are available if they've been found during configure (but configure does not turn on switches such as -std=c++11).
    88
    99In other words, in the code: