[postgis-tickets] [PostGIS] #3250: cu_algorithm warnings
PostGIS
trac at osgeo.org
Wed Sep 23 14:12:11 PDT 2015
#3250: cu_algorithm warnings
----------------------+---------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.2.0
Component: postgis | Version: 2.1.x
Resolution: | Keywords:
----------------------+---------------------------
Comment (by robe):
http://stackoverflow.com/questions/9941261/warning-this-decimal-constant-
is-unsigned-only-in-iso-c90 (reading)
Hmm could it be that your default and debian's is like C99? I suspect
that maybe mingw64 warns about lower since it has to use Windows C
runtimes which are questionably at god knows which version of C standard.
I think the newer are at lest C90 or C99 or so but older like windows xp
are at C89. So might be a similar kind of -- this may not work when you
run it kind of messages like the PRIblahblahblah thing I told strk to
close.
I'm not sure if I really need to worry about windows xp or windows 2000
users since, well technically Microsoft doesn't support them and this is
just showing a warning in cunit tests and no where else in code.
Feel free to dismiss this as a won't fix if you want.
I get similar warning in cu_varint
{{{
cu_varint.c:155:2: warning: this decimal constant is unsigned only in ISO
C90 [enabled by default]
do_test_s32_varint(-2147483648, 5, "FFFFFFFF0F");
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3250#comment:4>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list