Menu

#1419 gcc 4.4 - shadowed global variable

2.13.3
closed-fixed
nobody
5
2009-02-04
2009-02-04
Dan Horak
No

another issue found by gcc 4.4 - declaration of 'domains' in oh_client_conf.h shadows a global declaration

In file included from oh_client_session.cpp:26:
oh_client_conf.h:26: error: declaration of 'domains' shadows a global declaration
oh_client_session.h:36: error: shadowed declaration is here
make[2]: *** [oh_client_session.lo] Error 1

I have created a patch that renames all the global variable declared in oh_client_session.h and it fixes this issue.

Discussion

  • Dan Horak

    Dan Horak - 2009-02-04

    fix shadowed global variable

     
  • Shuah Khan

    Shuah Khan - 2009-02-04

    Fixed in revision 6945

     
  • Shuah Khan

    Shuah Khan - 2009-02-04
    • milestone: --> 2.13.3
    • status: open --> closed-fixed