AnsweredAssumed Answered

Stopping multiple #warning messages in header files

Question asked by Carl Norman on Mar 3, 2011
Latest reply on Mar 3, 2011 by Carl Norman



I have some header files with #warnings, when I compile, the warning appears once for every source file which includes the header.


Is there a way to stop the warning being shown more than once?


Obviously #pragma once and #ifndef are all scope dependent, therefore, do not stop the repeat messages.