One advantage of #warning is that it is in the compiler output, so tools like emacs will jump straight to the relevent source line as they would for any other error or warning. Rich.