RAD Studio
ContentsIndex
PreviousUpNext
W8095: Incorrect use of #pragma message( "string" ) (C++)

You can use pragma message to emit a message to the command line or to the message window. You would get this warning if you use the incorrect syntax, so

#pragma message( "hi there" )

is correct, but the following code would generate the warning:

#pragma message( badly formed )
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!