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)

230.patch (482 bytes ) - added by rcoup 9 months ago.
Patch against r3001

Download all attachments as: .zip

Change History (1)

by rcoup, 9 months ago

Attachment: 230.patch added

Patch against r3001

Note: See TracTickets for help on using tickets.