forked from osmocom/wireshark
aad1a81b99
If a file in the same directory as config.h, e.g. wireshark-qt.cpp
has a #include "config.h", or another header it includes also has
a #include "config.h", then an out-of-tree build, e.g. CMake will
pick up any in-tree config.h and odd things may happen. The correct
form is #include <config.h> which will pick up the out-of-tree
version.
To find this, introduce a deliberate error and then make an out-of-tree
build, noting where it fails and fix that file. If that file includes
other files that still cause the build to fail, set the compiler
to emit the pre-processed version so you can locate the include with
the next errant "config.h". Repeat ad nauseum.
Possibly all includes of "config.h" should be changed to <config.h>
Revert "CMake: Clobber the top-level config.h before we build."
This reverts commit
|
||
---|---|---|
.. | ||
G711a | ||
G711u | ||
G722 | ||
G726 | ||
sbc | ||
CMakeLists.txt | ||
Makefile.am | ||
Makefile.common | ||
Makefile.nmake | ||
codecs.c | ||
codecs.h |