View Single Post
Join Date: Sep 2008
Posts: 90
Reputation: unbeatable0 is an unknown quantity at this point 
Solved Threads: 12
unbeatable0 unbeatable0 is offline Offline
Junior Poster in Training

Preprocessor #warning Command Question

 
0
  #1
Oct 7th, 2008
Is there a way to #define something as a #warning?
I tried using the following code, but it gives me an error:
'warning' undeclared (first use this function)

This is the part of code where the error appears:
  1. #define something #warning This is not a standard function!
  2.  
  3. int main(void)
  4. {
  5. something
  6. return 0;
  7. }


Any help on this please?
If it's not possible to perform, please tell

Thanks in advance
Last edited by unbeatable0; Oct 7th, 2008 at 10:45 am.
Reply With Quote