[ccache] Testsuite failure with GCC 4.8
Ryan Hill
dirtyepic at gentoo.org
Tue Apr 23 23:45:24 MDT 2013
On Wed, 20 Mar 2013 22:33:57 +0100
Joel Rosdahl <joel at rosdahl.net> wrote:
> On 17 March 2013 03:21, Ryan Hill <dirtyepic at gentoo.org> wrote:
> > In GCC 4.8 the preprocessor automatically includes <stdc-predef.h> in C/C++
> > mode. This is causing a failure in the ccache testsuite: [...]
>
> Thanks for the notice. I believe I have fixed it now:
> http://gitweb.samba.org/?p=ccache.git;a=commit;h=b5d63f81c1a83fd4c50b769a96a04f581b7db70c
Almost. It looks like -MMD disables this behaviour so now that particular test
fails in the opposite way.
$ gcc-4.8.0 -c -Wp,-MD,expected.d test.c && cat expected.d
test.o: test.c /usr/include/stdc-predef.h test1.h test3.h test2.h
$ gcc-4.8.0 -c -Wp,-MMD,expected.d test.c && cat expected.d
test.o: test.c test1.h test3.h test2.h
--
gcc-porting
toolchain, wxwidgets
@ gentoo.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/ccache/attachments/20130423/534b7957/attachment.pgp>
More information about the ccache
mailing list