avr-gcc を使用してコマンドラインでコンパイルしています
私が使用しているインクルードの 1 つには、次の行があります。
#ifndef F_CPU
#warning No CPU speed specified - assuming Axon is running at 16MHz
#define F_CPU 16000000
#endif
#if F_CPU != 16000000
#warning "AxonII normally runs at 16MHz but you have defined a different value"
#endif
make を実行すると、次のようになります。
In file included from main.c:7:
../webbotavrclib/sys/axon2.h:86:11: error: operator '!=' has no left operand
86行目は#if F_CPU != 16000000
上です。なぜエラーが発生するのかわかりません。