Jump to content
Sign in to follow this  
n4gix

Warning About "Redefinition" from Compiler

Recommended Posts

I get the following "warning(s)" from the compiler, although the set of sub-gauges compile and work just fine:Compiling...LibertyXL2.cLibertyXL2.c(21) : warning C4005: 'GAUGE_NAME' : macro redefinition LibertyXL2.c(16) : see previous definition of 'GAUGE_NAME'LibertyXL2.c(22) : warning C4005: 'GAUGEHDR_VAR_NAME' : macro redefinition LibertyXL2.c(17) : see previous definition of 'GAUGEHDR_VAR_NAME'NOTE: Nevermind! I found my "problem..." I simply forgot to add://///////////////////////////////////////////////////////////////////////////#undef GAUGE_NAME#undef GAUGEHDR_VAR_NAME#undef GAUGE_Wto the bottom of two of the sub-gauge .c files... :-bang :-hang :~P :-newburn :-ukliam


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites
Guest darrenecm

Lol. The smilies icons says it all Bill. I reckon we need a DOH! smily though :)

Share this post


Link to post
Share on other sites

>Lol. The smilies icons says it all Bill. I reckon we need a>DOH! smily though :)Yep! It never fails: 12.8345 seconds after finally humbling myself enough to ask for help, I discover what is (usually) my own mistake...Lacking the ability to delete a post, the only logical response is to display the egg on my face with as much grace as possible, dwelling with the hope that my public humiliation will save someone else from my folly... :)


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...