Ticket #3257 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

strcasestr generating warnings

Reported by: pramsey Owned by: pramsey
Priority: normal Milestone: 5.6 release
Component: MapServer C Library Version: svn-trunk (development)
Severity: normal Keywords:
Cc: tomkralidis

Description

Reported

mapfile.c: In function 'msLayerSubstituteString':
mapfile.c:5452: warning: implicit declaration of function 'strcasestr'
mapfile.c:5452: warning: comparison between pointer and integer
mapfile.c:5454: warning: comparison between pointer and integer
mapfile.c:5456: warning: comparison between pointer and integer
mapfile.c:5458: warning: comparison between pointer and integer
mapfile.c:5461: warning: comparison between pointer and integer
mapfile.c: At top level:

Attachments

gnu_source.patch Download (339 bytes) - added by pramsey 3 years ago.
Patch to test

Change History

Changed 3 years ago by pramsey

Patch to test

Changed 3 years ago by tomkralidis

FYI I ran into this issue on fc11. Patch tested and works.

Changed 3 years ago by pramsey

  • status changed from new to closed
  • resolution set to fixed

Committed to trunk at r9673

Note: See TracTickets for help on using tickets.