Re: More on C++11 requirements

2019-12-19 Thread Martin Braun
Pip install cmake is also a quick and dirty remedy on most systems. On Mon, 25 Nov 2019, 15:21 Marcus D. Leech, wrote: > On 11/25/2019 05:52 PM, Maitland Bottoms wrote: > > "Marcus D. Leech" writes: > >> /me shuffles feet nervously: > >> > >> cmake version 2.8.12.2 > > For those suffering with

Re: More on C++11 requirements

2019-11-25 Thread Marcus D. Leech
On 11/25/2019 05:52 PM, Maitland Bottoms wrote: "Marcus D. Leech" writes: /me shuffles feet nervously: cmake version 2.8.12.2 For those suffering with RHEL / CentOS 7*... - yum install devtoolset-8 `. /opt/rh/devtoolset-8/enable` will bring you into the gcc 8.3 era. - install cmake3 fro

Re: More on C++11 requirements

2019-11-25 Thread Maitland Bottoms
"Marcus D. Leech" writes: > /me shuffles feet nervously: > > cmake version 2.8.12.2 For those suffering with RHEL / CentOS 7*... - yum install devtoolset-8 `. /opt/rh/devtoolset-8/enable` will bring you into the gcc 8.3 era. - install cmake3 from EPEL will get you CMake 3.14.6 Much sharper t

Re: More on C++11 requirements

2019-11-25 Thread Marcus D. Leech
On 11/25/2019 04:24 PM, Michael Dickens wrote: That should work. Which version of cmake are you using? /me shuffles feet nervously: cmake version 2.8.12.2

Re: More on C++11 requirements

2019-11-25 Thread Michael Dickens
That should work. Which version of cmake are you using? On Mon, Nov 25, 2019 at 4:16 PM Marcus D. Leech wrote: > On 11/25/2019 03:28 PM, Andrej Rode wrote: > > Out of curiosity, what's your GCC version? > > There might be a problem with CMake not detecting C++11 support > > correctly/your versio

Re: More on C++11 requirements

2019-11-25 Thread Marcus D. Leech
On 11/25/2019 03:28 PM, Andrej Rode wrote: Out of curiosity, what's your GCC version? There might be a problem with CMake not detecting C++11 support correctly/your version GCC is not fully C++11 compliant. (I know, crazy). Cheers Andrej gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-7)

Re: More on C++11 requirements

2019-11-25 Thread Andrej Rode
Out of curiosity, what's your GCC version? There might be a problem with CMake not detecting C++11 support correctly/your version GCC is not fully C++11 compliant. (I know, crazy). Cheers Andrej

Re: More on C++11 requirements

2019-11-25 Thread Marcus D Leech
Thanks. I got around the issue by explicitly setting CMAKE_CXX_CFLAGS when I invoked cmake. Sent from my iPhone > On Nov 25, 2019, at 10:19 AM, Michael Dickens > wrote: > >  > If setting `CMAKE_CXX_STANDARD` doesn't work to get `-std=c++11` or > `-std=gnu++11` into the CXX_FLAGS, then ma

Re: More on C++11 requirements

2019-11-25 Thread Michael Dickens
If setting `CMAKE_CXX_STANDARD` doesn't work to get `-std=c++11` or `-std=gnu++11` into the CXX_FLAGS, then maybe the version of CMake is < 3.1.0? The variable `CMAKE_CXX_STANDARD` was added to CMake in the capacity of setting (e.g.) `-std=c++11` as of CMake 3.1.0. The code would be something like

More on C++11 requirements

2019-11-24 Thread Marcus D. Leech
Playing with a project (gr-radio_astro from WVURAIL: https://github.com/WVURAIL/gr-radio_astro), and running into compile issues on older OS (Fedora 20 in this case). Now, the interesting thing is that my GCC appears to have support for c++11 (since -std=c++11 works as a command arg), and