Opened 9 months ago
#230 new defect
Compile fix for GCC 11+
Reported by: | rcoup | Owned by: | hugueswski |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Library | Version: | svn-trunk |
Keywords: | Cc: |
Description
Patch attached to fix the following compile error from gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
:
CS_epsgStuff.cpp: In member function 'bool TcsEpsgDataSetV6::FieldToDegrees(double&, const wchar_t*, const TcsEpsgCode&) const': CS_epsgStuff.cpp:4429:51: error: ordered comparison of pointer with integer zero ('wchar_t*' and 'long int') 4429 | minus = wcschr(wrkBufr, L'-') > 0L; | ~~~~~~~~~~~~~~~~~~~~~~^~~~
Attachments (1)
Note:
See TracTickets
for help on using tickets.
Patch against r3001