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

"Dechaux Eric CEN (BCQ STIG)" <[email protected]>
Newsgroups gmane.comp.gis.proj-4.devel
Message-ID <b1be4253-987b-00fc-0006-b33aab3e2773@gendarmerie.interieur.gouv.fr>
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.

_______________________________________________
PROJ mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/proj
avertissement.txt (text/plain, 1.1 KB)
Ce message électronique et tous les fichiers attachés qu'il contient sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le retourner à son émetteur. La publication, l'usage, la distribution, l'impression ou la copie non autorisée de ce message et des attachements qu'il contient sont strictement interdits.

En cas d'urgence, composez le 17 ou le 112.
Afin de contribuer au respect de l'environnement, merci de n'imprimer cet e-mail qu'en cas de necessite.

This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.

In case of emergency, dial number 17 or 112.
To contribute to the environmental protection, please print this e-mail only if necessary.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.