Package: libcairo2-dev
Version: 1.0.4-2
Severity: normal
Dear DD,
First, thank you for your package !
I use cairo for a custom application. Compiling this application with
-Wshadow leads to the following nameclash being reported:
In file included from /usr/include/gtk-2.0/gdk/gdkcolor.h:30,
from /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from netdraw.h:1,
from netdraw.c:4:
/usr/include/cairo/cairo.h:443: warning: declaration of y1 shadows a global
declaration
/usr/include/bits/mathcalls.h:242: warning: shadowed declaration is here
/usr/include/cairo/cairo.h:538: warning: declaration of y1 shadows a global
declaration
/usr/include/bits/mathcalls.h:242: warning: shadowed declaration is here
/usr/include/cairo/cairo.h:543: warning: declaration of y1 shadows a global
declaration
/usr/include/bits/mathcalls.h:242: warning: shadowed declaration is here
/usr/include/cairo/cairo.h:1257: warning: declaration of y0 shadows a global
declaration
/usr/include/bits/mathcalls.h:241: warning: shadowed declaration is here
/usr/include/cairo/cairo.h:1258: warning: declaration of y1 shadows a global
declaration
/usr/include/bits/mathcalls.h:242: warning: shadowed declaration is here
/usr/include/cairo/cairo.h:1325: warning: declaration of y0 shadows a global
declaration
/usr/include/bits/mathcalls.h:241: warning: shadowed declaration is here
This is annoying, as compilation with -Wshadow -Werror (which I happen
to like...) is then impossible.
Thank you for your attention,
Jean-Baptiste
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages libcairo2-dev depends on:
ii libcairo2 1.0.4-2 The Cairo 2D vector graphics libra
ii libfontconfig1-dev 2.3.2-1 generic font configuration library
ii libfreetype6-dev 2.2.1-2 FreeType 2 font engine, developmen
ii libpng12-dev 1.2.8rel-5.1 PNG library - development
ii libxrender-dev 1:0.9.0.2-1 X Rendering Extension client libra
libcairo2-dev recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]