Error directive
Da cppreference.com
< cpp | preprocessor
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Mostra mensagem dada e torna programa mal-formado.
Original:
Shows given message and renders program ill-formed.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar] Sintaxe
#error error_message
|
|||||||||
[editar] Explicação
Depois de encontrar directiva
#error
, error_message mensagem de diagnóstico é mostrado eo programa se torna mal-formado (a compilação é interrompida). Original:
After encountering
#error
directive, diagnostic message error_message is shown and the program is rendered ill-formed (the compilation is stopped). The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
' Error_message pode consistir em várias palavras não necessariamente entre aspas.
Original:
error_message can consist of several words not necessarily in quotes.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.