Echelon Neuron C Bedienungsanleitung Seite 58

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 267
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 266 267

Kommentare zu diesen Handbüchern

Keine Kommentare