[PATCH] D34158: to support gcc 4.8 (and newer) compatibility on Linux, preinclude <stdc-predef.h>
Fedor Sergeev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 13 12:30:02 PDT 2017
fedor.sergeev added a comment.
There is no /usr/include/stdc-predef.h on Solaris and I see no sense in adding this -include for anything except Linux
(as docs are rather clear that this functionality is Linux-only).
Checked gcc on Solaris11/12 both SPARC and X86 - none are doing stdc-predef.h inclusion
(checking with
gcc - -dI </dev/null -E | grep stdc-predef
)
https://reviews.llvm.org/D34158
More information about the cfe-commits
mailing list