RAD Studio |  |

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

Copy Code

    #pragma message( "hi there" )

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

Copy Code

    #pragma message( badly formed )

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