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

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

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... :)

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