Changes between Version 1 and Version 2 of Ticket #60638, comment 5


Ignore:
Timestamp:
Jun 23, 2020, 4:23:43 AM (4 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60638, comment 5

    v1 v2  
    11{{{thread_local}}} always implies {{{std=c++11}}} or greater. <https://en.cppreference.com/w/cpp/keyword/thread_local>
    2 
    3 I had a conversation with Marcus about whether setting {{{compiler.thread_local_storage yes}}} should imply at least {{{compiler.cxx_standard 2011}}} and that was felt to be completely unacceptable and it should always be separately specified, so therefore you have to specify both.
    4 
    5 don't forget that many build systems will test for certain standards and use them if available. Just because the build line indicated {{{-std=gnu++14}}} on this particular system, it does not necessarily mean that  the software actually requires that. Just that it used that during this build. Not a big deal -- it will probably just mean that ports that might have built with an older compiler will be forced to build with a newer one, but I know you don't like that.