[PATCH] D35054: [Solaris] get rid of _RESTRICT_KYWD warning during the build
Fedor Sergeev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 6 06:39:47 PDT 2017
fedor.sergeev added a comment.
The hack was introduced as part of https://reviews.llvm.org/rL192185 Solaris-11 build change.
After removing this hack I have no problems building LLVM on Solaris 11 (intel/SPARC).
Vladimir V (the guy who did the original fix) does not really remember what was his exact build setup that exposed the problem with _RESTRICT_KYWD.
I just suppose that his gcc had no include-fixed feature_tests.h (which has a fix for _RESTRICT_KYWD) and that resulted in _RESTRICT_KYWD
being defined as "restrict" (leading to g++ errors on majority of its uses in Solaris headers).
I wonder if anybody can check what happens on non-Oracle Solarii...
https://reviews.llvm.org/D35054
More information about the llvm-commits
mailing list