mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
pragma: add minimalist message pragma documentation
documents 6e93c1ba7332c55eb2067d7be6d20050912ef27d
This commit is contained in:
parent
6e93c1ba73
commit
80b27bde5e
@ -1119,6 +1119,23 @@ parameter with the <tt/#pragma/.
|
||||
remembered and output as a whole when translation is finished.
|
||||
|
||||
|
||||
<sect1><tt>#pragma message (<message>)</tt><label id="pragma-message"><p>
|
||||
|
||||
This pragma is used to display informational messages at compile-time.
|
||||
|
||||
The message intented to be displayed must be a string literal.
|
||||
|
||||
Example:
|
||||
<tscreen><verb>
|
||||
#pragma message ("in a bottle")
|
||||
</verb></tscreen>
|
||||
|
||||
Results in the compiler outputting the following to stderr:
|
||||
<tscreen><verb>
|
||||
example.c(42): Note: in a bottle
|
||||
</verb></tscreen>
|
||||
|
||||
|
||||
<sect1><tt>#pragma optimize ([push,] on|off)</tt><label id="pragma-optimize"><p>
|
||||
|
||||
Switch optimization on or off. If the argument is "off", optimization is
|
||||
|
Loading…
x
Reference in New Issue
Block a user