◐ Shell
clean mode source ↗

Error directive - cppreference.com

Da cppreference.com.

Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.

La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui.

Click here for the English version of this page

<metanoindex/>

Visualizza messaggio dato e rende programma mal formato.

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.

Sintassi

#error error_message

Spiegazione

Dopo aver incontrato direttiva #error, error_message messaggio di diagnostica viene visualizzato e il programma è reso mal formato (la compilazione è fermo).

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.

Error_message può essere composto da più parole non necessariamente tra virgolette.

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.

Vedi anche