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 hard coded in our CMake" :)
What C++ language variant is GNU Radio 3.10.12 written in?
C++17
Does the build system check if the compiler can support the required
version and add --std somehow? If not, do people think that's a bug?
It does, that's a general feature of CMake.
Are things ok only because everybody but me is using a system where
the compiler is always really recent, and defaults to high language
standards?
No, this works because unless you try to force things, the build system is already
configured to make sure the compiler is in the right standards mode.
Best regards,
Marcus