[Bug 29692] trying to link with libhal fails with -Wshadow

j^ j at bootlab.org
Wed Jan 25 20:35:04 UTC 2006

Public bug reported:

Affects: hal (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed

trying to compile NetworkManager cvs it fails with:
/usr/include/hal/libhal.h:306: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:304: warning: shadowed declaration is here

this is due to -Wshadow

libhal should not shadow a global declaration.

More information about the desktop-bugs mailing list