dxx-rebirth/common/misc
Kp 6ac840c52c Fix pch=1 build
PCH mode causes the Valgrind-wrapper header to be included in places
it is not meant to be used, which leads to spurious compiler errors.

PCH mode causes the Valgrind-wrapper __real_* stub functions to see
the physfsx.h PHYSFS macros, which also causes errors.

Fortunately, both cases can be easily fixed.

Add preprocessor guards to the Valgrind-wrapper header to cause it to
compile out when the PCH phase runs.  It has no include guard, so it
will be rescanned with the proper macros when the two consuming files
are built normally.

Modify the Valgrind-wrapper __real_* stub functions to use
the standard macro avoidance trick so that they do not call the
physfsx.h PHYSFS macros.
2017-01-31 04:25:06 +00:00
..
error.cpp Uninline namespace dcx 2015-12-13 18:00:49 +00:00
hash.cpp Uninline namespace dcx 2015-12-13 18:00:49 +00:00
hmp.cpp Use range_for for hmp reset_tracks 2016-10-29 23:16:18 +00:00
ignorecase.cpp Switch ignorecase.cpp to C++ static_cast 2016-09-04 00:02:52 +00:00
strutil.cpp Move strutil qsort comparator casts into function 2016-09-04 19:10:42 +00:00
vg-wrap-physfs.h Fix pch=1 build 2017-01-31 04:25:06 +00:00
vgrphys.cpp Fix pch=1 build 2017-01-31 04:25:06 +00:00
vgwphys.cpp Use ugly preprocessor hook hack to fix Clang build failure 2017-01-07 19:09:04 +00:00