[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help with -Werror
From: |
Phillip Susi |
Subject: |
Help with -Werror |
Date: |
Wed, 24 Apr 2019 11:11:27 -0400 |
User-agent: |
mu4e 0.9.18; emacs 25.2.2 |
It seems like every time I go back to try to do somoe work on the parted
sources I run into a failure to compile due to some silly warning or
other and -Werror being enabled. This time it is from a generated
source file made by gperf. Is this set by default these days in
automake? Because I can not figure out how it is being used.
Makefile.am does not seem to have anything to turn it on. Makefile sets
CFLAGS_WERROR=-Werror, but I can see nothing that references
CFLAGS_WERROR anywhere. How does this variable end up being passed to
gcc?
I am tempted to just disable -Werror completely, but at the very least
it should be disabled for BUILT_SOURCES since you can't really fix the
warnings there. Any advice on how to do this?
- Help with -Werror,
Phillip Susi <=