[GRASS-dev] Min. req. of programming language standard support, GRASS GIS 8
wenzeslaus at gmail.com
Fri Jan 29 20:13:23 PST 2021
On Fri, Jan 29, 2021 at 5:20 PM Moritz Lennert <mlennert at club.worldonline.be>
> Am 29. Januar 2021 20:54:06 GMT+00:00 schrieb Markus Metz <
> markus.metz.giswork at gmail.com>:
> >For new PROJ
> >versions, C99 is a requirement.
> If proj requires it, doesn't it automatically become a requirement for
> GRASS as well ?
That's a good point. We have the same situation with GDAL. It requires
C++11 . Although this may not set the requirement absolutely, it sets it
Additionally, increasing the minimum for C let's say to C17, may allow
increasing the minimum for C++ because practically there is no compiler
which would support one and not the other, but that depends on the
In CI, I have set the GCC compilation tests only for C99 and above and
C++11 and above  (i.e., not requiring anything below that). However,
note that the C is GNU C, not ISO (which we currently don't conform to).
The "pedantic" keeping of the standard fails for both C and C++ (and thus
it is not currently checked in the CI).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-dev