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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/20/04 22:20
Read: times


 
#63021 - RE: semicolons after #defines
Responding to: ???'s previous message
erik malund said:
no semicolon after #defines

That's not quite the point.

The point is that when you do put a semicolon in a #define, it forms part of the macro expansion.

So the full rule is, only put semicolons after #defines it you want a semicolon to appear in the macro expansion!

List of 8 messages in thread
TopicAuthorDate
compile error of EXTERN            01/01/70 00:00      
   RE: compile error of EXTERN            01/01/70 00:00      
   RE: compile error of EXTERN            01/01/70 00:00      
      RE: semicolons after #defines            01/01/70 00:00      
   RE: compile error of EXTERN            01/01/70 00:00      
      RE: compile error of EXTERN            01/01/70 00:00      
         RE: compile error of EXTERN            01/01/70 00:00      
         RE: compile error of BYTE            01/01/70 00:00      

Back to Subject List