I am trying to display a compilation message in GCC , through
#pragma message "hello world"
But when I compile with -Wall
, it gives a warning
warning: ignoring #pragma message
I am using GCC 4.2.1 on Mac OS X 10.6.8 (Snow Leopard).
Why doesn't it display a message? How can I display this message?
source share