[PROJ] -Wextra-semi breaking build with gcc7

Even Rouault even.rouault at spatialys.com
Wed Sep 4 09:56:04 PDT 2024


Has already been fixed in master / 9.5dev per 
https://github.com/OSGeo/PROJ/commit/de8118616a668fe92f2c0aadc847449b0d0d122a

That said our CI no longer test such antiquated beasts, so you're on 
your own if you choose to support them.

Le 04/09/2024 à 18:52, Greg Troxel via PROJ a écrit :
> CMakeLists.txt has
>
> -Wextra-semi
>
> but it does not validate that the compiler is ok with that option.
> This leads to a failure on NetBSD 9 which has gcc 7.
>
> For now I'm patching it out, but I wonder how cmake intends to deal with
> this.  One can't assume that any particular nonstandard warning flags
> are acceptable; I think each needs to have a trial compile and only be
> added if that passes.  But I am not cmake-clueful enough to know how.
>
>
> http://www.ki.nu/pkgsrc/reports/current/NetBSD-9.0/20240901.2232/proj-9.4.1/build.log
> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj

-- 
http://www.spatialys.com
My software is free, but my time generally not.



More information about the PROJ mailing list