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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/13/03 20:40
Read: times


 
#58581 - RE: RE:compile error!! which compiler?
Responding to: ???'s previous message
"If you are using Franklin 'C' then the sbit declaration will be done in your userdefined header file itself rather than in your source file."

Surely that would give a "duplicate name" error, though?

Remember, as I pointed out earlier, the Compiler knows nothing about #include; it makes no distinction between "source" and "header" files - all it sees it the preprocessor "output", after all the text inclusion, substitution, comment-stripping, etc.
It makes no difference to the Compiler whether you put your sbits in a header or a "source" file!

List of 17 messages in thread
TopicAuthorDate
help!compile error!!            01/01/70 00:00      
   RE: help!compile error!!            01/01/70 00:00      
      RE: help!compile error!!            01/01/70 00:00      
   more compile information!            01/01/70 00:00      
   RE: help!compile error!!            01/01/70 00:00      
      RE: help!compile error!!            01/01/70 00:00      
   Preprocessor?            01/01/70 00:00      
   RE: help!compile error!!            01/01/70 00:00      
      RE: help!compile error!!            01/01/70 00:00      
         RE: help!compile error!!            01/01/70 00:00      
            Preprocessor misconceptions            01/01/70 00:00      
               RE: Preprocessor misconceptions            01/01/70 00:00      
   RE: help!compile error!!            01/01/70 00:00      
      RE: help!compile error!!            01/01/70 00:00      
         RE: help!compile error!!            01/01/70 00:00      
      RE:compile error!! which compiler?            01/01/70 00:00      
         RE: RE:compile error!! which compiler?            01/01/70 00:00      

Back to Subject List