Re: required c++ language standard

2025-05-29 Thread Matt Ettus
On Thu, May 29, 2025 at 2:39 AM Johannes Demel wrote: Expect the minimum C version to be bumped soon to give contributors the opportunity to enjoy later language features. Wouldn't it make more sense to wait until someone actually used one of those features? Matt

Re: required c++ language standard

2025-05-29 Thread Greg Troxel
Johannes Demel writes: > Regarding minimum versions. My current approach would be to set these to a > version that works with the oldest still supported distro. > I'd consider Ubuntu 20.04 to be the oldest, but in a few days, after 31. > May 2025, it'll be Ubuntu 22.04. > I know some distros offe

Re: required c++ language standard

2025-05-29 Thread Johannes Demel
Hey everyone, CMake can be a journey. Also, there's no good source of "how to CMake today". Thus, the Internet might provide help from varying times and different guidelines. Further, later CMake might require you to do things differently. Currently, I'd expect a project to configure a minimum ve

Re: required c++ language standard

2025-05-20 Thread Marcus Müller
>Hi Greg, better a brief reply than a late one: On 5/19/25 5:09 PM, Greg Troxel wrote: It would be nice to have something easily found by a human, agreed, but on the scale of "someone needs to know about this" and "it would be bad if documentation goes out of sync with the implementation", s

Re: required c++ language standard

2025-05-19 Thread Greg Troxel
Marcus Müller writes: > Dear Greg, > > yes, GNU Radio should only need C++17. That's defined in our > CMakeFiles.txt, cmake/Modules/GrCompilerSettings.cmake Line 81. Thanks - and now I know C11 is required too. > On 5/18/25 8:50 PM, Greg Troxel wrote: >>Is this documented and I'm just not l

Re: required c++ language standard

2025-05-19 Thread Marcus Müller
Dear Greg, yes, GNU Radio should only need C++17. That's defined in our CMakeFiles.txt, cmake/Modules/GrCompilerSettings.cmake Line 81. On 5/18/25 8:50 PM, Greg Troxel wrote: Is this documented and I'm just not looking in the right place? "Documented" might be a strong word for "it's ha

required c++ language standard

2025-05-18 Thread Greg Troxel
In pkgsrc, GNU Radio is at 3.10.12.0. It is marked as needing a C++20 compiler, but this seems surprising. This minute, I believe that's confused on our part, and it needs C++17. Reading CMakeFile.txt and README and following pointers, I can't find anything which says what C++ language variant GN