On Wed, 20 Mar 2013 22:33:57 +0100
Joel Rosdahl <j...@rosdahl.net> wrote:

> On 17 March 2013 03:21, Ryan Hill <dirtye...@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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache

Reply via email to