[Poppler-bugs] [Bug 71641] Fix warning on signed/unsigned comparison in GfxState.cc

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 15 12:11:53 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=71641

Hib Eris <hib at hiberis.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hib at hiberis.nl

--- Comment #2 from Hib Eris <hib at hiberis.nl> ---
(In reply to comment #1)
> I don't get this warnings, are you using non poppler-standard warnings?

No, just running ./autogen.sh.

It gives me this:

$ make V=1 GfxState.lo
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..
-I.. -I../goo   -I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12      -I/usr/include/libpng12  
 -I/usr/include/freetype2       -fPIC -Wall -Woverloaded-virtual
-Wnon-virtual-dtor -Wcast-align -fno-exceptions -fno-check-new -fno-common -g
-O2 -ansi  -MT GfxState.lo -MD -MP -MF .deps/GfxState.Tpo -c -o GfxState.lo
GfxState.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../goo
-I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libpng12
-I/usr/include/freetype2 -fPIC -Wall -Woverloaded-virtual -Wnon-virtual-dtor
-Wcast-align -fno-exceptions -fno-check-new -fno-common -g -O2 -ansi -MT
GfxState.lo -MD -MP -MF .deps/GfxState.Tpo -c GfxState.cc  -fPIC -DPIC -o
.libs/GfxState.o
GfxState.cc: In member function 'virtual void
GfxICCBasedColorSpace::getGray(GfxColor*, GfxGray*)':
GfxState.cc:2000:43: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
GfxState.cc: In member function 'virtual void
GfxICCBasedColorSpace::getRGB(GfxColor*, GfxRGB*)':
GfxState.cc:2047:43: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
GfxState.cc:2090:43: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
GfxState.cc: In member function 'virtual void
GfxICCBasedColorSpace::getCMYK(GfxColor*, GfxCMYK*)':
GfxState.cc:2295:43: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../goo
-I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libpng12
-I/usr/include/freetype2 -fPIC -Wall -Woverloaded-virtual -Wnon-virtual-dtor
-Wcast-align -fno-exceptions -fno-check-new -fno-common -g -O2 -ansi -MT
GfxState.lo -MD -MP -MF .deps/GfxState.Tpo -c GfxState.cc -o GfxState.o
>/dev/null 2>&1
mv -f .deps/GfxState.Tpo .deps/GfxState.Plo

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20131115/3fe659e0/attachment.html>


More information about the Poppler-bugs mailing list