W8095 Incorrect use of #pragma message( "string" ) (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index


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 )