Re: [CMake] c++2a

2019-05-09 Thread hex
ummh, sooo... h, do you like... cheese? On 5/9/19 7:21 AM, Stefan Fendt wrote: Am 07.05.2019 um 20:37 schrieb Angel Campoverde: Next time please ask what computer I am using. *What*? Really? *Please* give this a second thought... Stefan -- Powered by www.kitware.com Please keep messages

Re: [CMake] c++2a

2019-05-09 Thread Stefan Fendt
Am 07.05.2019 um 20:37 schrieb Angel Campoverde: > Next time please ask what computer I am using. *What*? Really? *Please* give this a second thought... Stefan -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Re: [CMake] c++2a

2019-05-07 Thread Mateusz Loskot
On Tue, 7 May 2019 at 20:38, Angel Campoverde wrote: > Next time please ask what computer I am using. CMake results are intrinsically compiler-specific. Your issue is compiler-specific. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net p.s. Please, stop it. -- Powered by

Re: [CMake] c++2a

2019-05-07 Thread Angel Campoverde
Next time please ask what computer I am using. On Tue, May 7, 2019 at 1:04 PM Mateusz Loskot wrote: > On Tue, 7 May 2019 at 18:24, Angel Campoverde > wrote: > > > > No, It does not work, I told Cmake to use c++ 20, but it still goes back > to c++17. You can see what I get here: > > > >

Re: [CMake] c++2a

2019-05-07 Thread Mateusz Loskot
On Tue, 7 May 2019 at 18:24, Angel Campoverde wrote: > > No, It does not work, I told Cmake to use c++ 20, but it still goes back to > c++17. You can see what I get here: > > https://pastebin.com/5ub18cMU Next time, please specify what compiler you are using. Best regards, -- Mateusz Loskot,

Re: [CMake] c++2a

2019-05-07 Thread Robert Maynard via CMake
CMake hasn't been updated to be aware that XCode 10 added support for C++20 (via -std=c++2a). I have opened a MR to correct this which you can track at: https://gitlab.kitware.com/cmake/cmake/merge_requests/3294 On Tue, May 7, 2019 at 12:24 PM Angel Campoverde wrote: > > Hi, > > No, It does not

Re: [CMake] c++2a

2019-05-07 Thread Angel Campoverde
Hi, No, It does not work, I told Cmake to use c++ 20, but it still goes back to c++17. You can see what I get here: https://pastebin.com/5ub18cMU my CMakeLists.txt is here: https://pastebin.com/3bwMKrWB do you know what could be the problem? Cheers. On Tue, May 7, 2019 at 2:33 AM Mateusz

Re: [CMake] c++2a

2019-05-07 Thread Mateusz Loskot
On Tue, 7 May 2019 at 01:15, Angel Campoverde wrote: > > I am looking at: > > https://cmake.org/cmake/help/v3.14/prop_tgt/CXX_STANDARD.html > > and I see that I can pass 20, for c++20. However I do not have that in my > compiler, > I only have c++2a and gnu++2a, this means that CMake goes back

[CMake] c++2a

2019-05-06 Thread Angel Campoverde
Hello, I am looking at: https://cmake.org/cmake/help/v3.14/prop_tgt/CXX_STANDARD.html and I see that I can pass 20, for c++20. However I do not have that in my compiler, I only have c++2a and gnu++2a, this means that CMake goes back to c++17 and macros like __VA_OPT__: