Echelon Neuron C Manuale Utente Pagina 58

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 267
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 57
38 Compiler Directives
...
#else
#ifdef YYY
...
#else
#error “You must define either XXX or YYY”
#endif
#endif
This directive differs from the ANSI C #error directive in that the Neuron C
version requires a quoted string.
#warning “
text
This directive allows you to issue a custom warning message. When this
directive is processed, program compilation continues. This directive is
useful for managing conditional compilation, for example:
#ifdef XXX
...
#else
#ifdef YYY
...
#else
#warning “You should define either XXX or YYY”
#endif
#endif
Vedere la pagina 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 266 267

Commenti su questo manuale

Nessun commento