[mapserver-users] TinyOWS 12.10rc1

Even Rouault even.rouault at mines-paris.org
Sun Oct 14 15:44:14 PDT 2012


Le lundi 15 octobre 2012 00:21:19, Olivier Courtin a écrit :
> Hi all,
> 
> TinyOWS 12.10rc1 is yet available:
> http://www.tinyows.org/release/mapserver-tinyows-12.10rc1.tar.bz2
> 
> Thanks in advance in advance to test,
> and report any bug or regression on this list
> 
> 12.10 NEWS:
>  - Generate PK value using PostgresSQL DEFAULT value if present (Serge
> Dikiy)
>  - XSD max length and enumeration constraint handling (Serge Dikiy & Alan
> Boudreault)
>  - include_items and exclude_items config handling. To choose exactly which
> columns to retrieve (Serge Dikiy)
>  - Add pkey configuration in layer config. Usefull for instance when
> retrieving data from a VIEW. (Serge Dikiy)
>  - Buffer copy performance improve (Serge Dikiy)
>  - Rewrite/fix max features handling (Olivier Courtin)
>  - Several bugfixes as usual (special thanks to Andreas Peri, Serge Dikiy
> and Jukka Rahkonen for detailled reports)

Compiling with clang raises 2 interesting warnings, the 2nd one being clearly 
a bug :

src/mapfile/mapfile.l:412:18: warning: implicit conversion from enumeration type 
'enum map_lmd_state' to different enumeration type 'enum map_md_state' [-
Wconversion]
                map_md_state = MAP_LMD_TOWS_GEOBBOX;
                             ~ ^~~~~~~~~~~~~~~~~~~~

src/ows/ows_geobbox.c:62:23: warning: argument to 'sizeof' in 'memcpy' call is 
the same pointer type 'ows_geobbox *' (aka 'struct Ows_geobbox *') as the 
destination; expected
      'ows_geobbox' (aka 'struct Ows_geobbox') or an explicit length [-
Wsizeof-pointer-memaccess]
  return memcpy(c, g, sizeof(g));
                ~     ^~~~~~~~~

--> should be memcpy(c, g, sizeof(*g));

Best regards,

Even


More information about the mapserver-users mailing list