Bug 8751 - Warning clean (-Wshadow) on dbus-gtype-specialized.h
Summary: Warning clean (-Wshadow) on dbus-gtype-specialized.h
Status: RESOLVED DUPLICATE of bug 8353
Alias: None
Product: dbus
Classification: Unclassified
Component: GLib (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: lowest trivial
Assignee: Rob Taylor
QA Contact: John (J5) Palmieri
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-24 07:23 UTC by Sébastien Couret
Modified: 2006-10-25 10:37 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Sébastien Couret 2006-10-24 07:23:19 UTC
I'm using 
 - gcc version 3.3.5 with -Wshadow option for a production build.
 - the last release of dbus-glib version 0.71.

The following warnings are raised :
/usr/local/include/dbus-1.0/dbus/dbus-gtype-specialized.h:50: warning:
declaration of `index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
/usr/local/include/dbus-1.0/dbus/dbus-gtype-specialized.h:95: warning:
declaration of `index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
/usr/local/include/dbus-1.0/dbus/dbus-gtype-specialized.h:98: warning:
declaration of `index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here

;o) remplacing 'index' by something not part of the namespace keywords will
probably close this trivial bug !
Hope this helps anyway.
Comment 1 Rob Taylor 2006-10-25 10:37:09 UTC

*** This bug has been marked as a duplicate of 8353 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.