メイクファイルでプロジェクトを作成しているとき、私はこのエラーを取得:無効-Werrorのiniの設定ファイル
error: implicit declaration of function ‘fatal’ [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
は./configure --helpは、私はしないように設定伝えることができる方法を
Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
--disable-gtktest do not try to compile and run a test GTK+ program
--enable-debug Turn on debugging
を示しinclude -Werror ??
'CFLAGS'と' CPPFLAGS'の違いは 'CFLAGS'は、Cコンパイラによって使用されることはなく、' CPPFLAGS'があることに注意してくださいは、 C++コンパイラで使用されますが、 'CFLAGS'はコンパイラで使用され、' CPPFLAGS'はCプリプロセッサで使用されます。この詳細はSO答えを参照してください:http://stackoverflow.com/questions/2754966/cflags-vs-cppflags – staticfloat
上記のコメントは、CXXFLAGSの代わりにCPPFLAGSを持つ元の回答を参照しています。 –