How To Know Where The Macro Is Defined

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramgopalkota
    New Member
    • Dec 2007
    • 2

    How To Know Where The Macro Is Defined

    Hi ,

    I have a corba code generated by tool.In one of the header file created by the tool has a peice of code as below

    #include <someincludes >
    #ifdef _LC_attr
    #error "LC ATTR is DEFINED"
    #else
    < SOME CODE>
    #endif

    I am getting a error while compiling saying that "LC ATTR is DEFINED".
    I want to know which file has defined _LC_attr ? I dont see any body defining _LC_attr.

    Please help.
  • gpraghuram
    Recognized Expert Top Contributor
    • Mar 2007
    • 1275

    #2
    Originally posted by ramgopalkota
    Hi ,

    I have a corba code generated by tool.In one of the header file created by the tool has a peice of code as below

    #include <someincludes >
    #ifdef _LC_attr
    #error "LC ATTR is DEFINED"
    #else
    < SOME CODE>
    #endif

    I am getting a error while compiling saying that "LC ATTR is DEFINED".
    I want to know which file has defined _LC_attr ? I dont see any body defining _LC_attr.

    Please help.
    Check the compiler options where there is a chance it would have been defined...

    Raghuram

    Comment

    Working...