This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

C166 preprocessor directive #message unknown

I want to use the preprocessor directive #WARNING.
But I get always an error.

Example:
#message "This is my own message"

Compile error:
error 315: unknown #directive 'message'

I use the keil C166 compiler V4.11 (and I couldn't use a other one).

Parents
  • Obviously: Read the Manual!

    "Do anybody knows a other possibility to 'print' a message in the compiler output"

    The only such thing defined in the 'C' standard is #error - anything else is entirely proprietary.
    Details of proprietary language extensions will, as always, be found in the documentation.

    I'm afraid there's no escaping Please read the manual!

Reply
  • Obviously: Read the Manual!

    "Do anybody knows a other possibility to 'print' a message in the compiler output"

    The only such thing defined in the 'C' standard is #error - anything else is entirely proprietary.
    Details of proprietary language extensions will, as always, be found in the documentation.

    I'm afraid there's no escaping Please read the manual!

Children
No data