[mapserver-users] PIXMAP Symbols png and jpeg not recongnized

Lime, Steve D (MNIT) steve.lime at state.mn.us
Tue Oct 22 12:31:35 PDT 2019


The warnings look legit. I did a quick search and neither of those global variables are being used anywhere in the source (PNGsig is actually defined twice in 7.4, once in mapsymbol.c and again in mapogcsld.c). I assume that means they can be removed and/or the warnings can safely be ignored. Perhaps your compiler is just newer and therefore smarter?

Are you seeing issues beyond the warnings?

--Steve

-----Original Message-----
From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Flavio Hendry
Sent: Tuesday, October 22, 2019 3:17 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] PIXMAP Symbols png and jpeg not recongnized

Hi all

Never had a problem with PIXMAP symbols, this is on a new install (tried
to recompile several times and several versions, Ubuntu 18.04.3 LTS).

We see the following that  might cause the problem, any idea???

[ 21%] Building C object CMakeFiles/mapserver.dir/mapsymbol.c.o
/tmp/mapserver-7.4.2/mapsymbol.c:52:28: warning: ‘JPEGsig’ defined but
not used [-Wunused-const-variable=]
  static const unsigned char JPEGsig[3] = {255, 216, 255}; /* FF D8 FF
hex */
                             ^~~~~~~
/tmp/mapserver-7.4.2/mapsymbol.c:51:28: warning: ‘PNGsig’ defined but
not used [-Wunused-const-variable=]
  static const unsigned char PNGsig[8] = {137, 80, 78, 71, 13, 10, 26,
10}; /* 89 50 4E 47 0D 0A 1A 0A hex */


THX.


--
Mit freundlichem Gruss / Best regards
Flavio Hendry

----------------------------------------------------------------
TYDAC Inc.  - https://www.tydac.ch/
Swiss Maps  - https://www.mapplus.ch/
----------------------------------------------------------------
############      Mit freundlichen Gruessen / Kind Regards
############     Flavio Hendry, CEO - mailto:flavio at tydac.ch
############         TYDAC AG - https://www.tydac.ch
####    ####        Geographic Information Solutions
####    ####       Optingenstrasse 27 -- CH-3013 Bern
############             Tel +41 (0)31 368 0180
----------------------------------------------------------------
    Location: https://www.mapplus.ch/?lang=en&srch=solrsearch&name=bern%20optingenstrasse%2027
----------------------------------------------------------------
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list