Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/23/03 13:33
Read: times


 
#46476 - RE: Answered my own question..
Responding to: ???'s previous message
"Well, I stumbled on a workaround: Place the #define statement in a header file"

The issue you descibe is not a "problem" - this is the way the 'C' preprocessor works; always has, always will.
Therefore this is not really a "Workaround" as such - it is the standard practice for sharing preprocessor definitions between files; it is one of the main reasons why headers are there!

List of 6 messages in thread
TopicAuthorDate
Keil C51 <i>#define</i> scope            01/01/70 00:00      
   Answered my own question..            01/01/70 00:00      
      RE: Answered my own question..            01/01/70 00:00      
         RE: Answered my own question..            01/01/70 00:00      
            RE: Keil            01/01/70 00:00      
      RE: Answered my own question..            01/01/70 00:00      

Back to Subject List