[PROJ] [Internet] Re: build failure with GCC 9.1.0

Dechaux Eric CEN (BCQ STIG) eric.dechaux at gendarmerie.interieur.gouv.fr
Wed Sep 25 05:41:28 PDT 2019


Le 25/09/2019 à 10:51, Elliott Sales de Andrade a écrit :
>
> I don't understand this one. It's not a macro, so the inner scope
> identifier should shadow the outer one.
> See https://godbolt.org/z/ZQKPKo
It is just to hide a warning, nothing more.
>>       - proj-6.2.0-io.gpatch
>>
>> In file src/iso19111/io.cpp, change another class name that override the
>> CS system define
>>
>> $ gegrep '[[:space:]]CS[[:space:]]' /usr/include/sys/regset.h
>> #define CS              15
>>
> Maybe it would be better to figure out how and why this header is
> included, and then disable it, since it's defined several macros which
> seem useless for Proj.
Here is the include stack, I don't think much can be done :

/usr/include/sys/types.h
/usr/include/sys/wait.h:12,
/usr/include/stdlib.h:16,
/usr/gcc/9/include/c++/9.1.0/bits/std_abs.h:38,
/usr/gcc/9/include/c++/9.1.0/cmath:47,
/usr/gcc/9/include/c++/9.1.0/math.h:36,
projections/isea.cpp:7:


Regards
--
Eric.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: avertissement.txt
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20190925/5c8e713d/attachment.txt>


More information about the PROJ mailing list