In GCC 4.8 the preprocessor automatically includes <stdc-predef.h> in C/C++ mode. This is causing a failure in the ccache testsuite:
(see "Pre-processor pre-includes" in http://gcc.gnu.org/gcc-4.8/porting_to.html) CC='x86_64-pc-linux-gnu-gcc' ./test.sh starting testsuite base starting testsuite link starting testsuite hardlink starting testsuite cpp2 starting testsuite nlevels4 starting testsuite nlevels1 starting testsuite basedir starting testsuite direct SUITE: "direct", TEST: "-Wp,-MD" - Bad content of other.d.\nExpected: test.o: test.c test1.h test3.h test2.h\nActual: test.o: test.c /usr/include/stdc-predef.h test1.h test3.h test2.h cache directory /var/tmp/portage/dev-util/ccache-3.1.9/work/ccache-3.1.9/testdir.32181/.ccache cache hit (direct) 0 cache hit (preprocessed) 0 cache miss 1 files in cache 15 cache size 60 Kbytes max cache size 1.0 Gbytes TEST FAILED Test data and log file have been left in testdir.32181 make: *** [test] Error 1 I'm unsure if this will cause issues in practise or if it's just the test that needs to be adjusted. -- gcc-porting toolchain, wxwidgets by design, by neglect @ gentoo.org for a fact or just for effect
signature.asc
Description: PGP signature
_______________________________________________ ccache mailing list ccache@lists.samba.org https://lists.samba.org/mailman/listinfo/ccache