Changes between Initial Version and Version 1 of Ticket #59822, comment 13


Ignore:
Timestamp:
Dec 14, 2019, 10:35:25 AM (4 years ago)
Author:
Ionic (Mihai Moldovan)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59822, comment 13

    initial v1  
    1 The initial issue presented here is not (immediately) happening because the system `clang` version on 10.9 is too old to support initializer lists (which would be weird, since it's roughly based upon `clang` 3.4), but because `cmake` supplies `-std=gnu++1y`, which it doesn't understand and just silently ignores. Instead of enabling the C++11 mode, it just stays in the default C++03 mode, leading to the failure seen here.
     1The initial issue presented here is not (immediately) happening because the system `clang` version on 10.9 is too old to support initializer lists (which would have been weird in the first place, since it's roughly based upon `clang` 3.4 and initializer lists have been supported since `clang` 3.1), but because `cmake` supplies `-std=gnu++1y`, which it doesn't understand and just silently ignores. Instead of enabling the C++11 mode, it just stays in the default C++03 mode, leading to the failure seen here.
    22
    33Now... does `cmake` actually need C++14? If not, we could switch to something like `-std=gnu++11`.