Bug 8751

Summary: Warning clean (-Wshadow) on dbus-gtype-specialized.h
Product: dbus Reporter: Sébastien Couret <scouret.ext>
Component: GLibAssignee: Rob Taylor <rob.taylor>
Status: RESOLVED DUPLICATE QA Contact: John (J5) Palmieri <johnp>
Severity: trivial    
Priority: lowest    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

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.