https://llvm.org/bugs/show_bug.cgi?id=24390
Bug ID: 24390 Summary: Diagnostic "#include_next in primary source file" when processing header files Product: clang Version: 3.7 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: libclang Assignee: unassignedclangb...@nondot.org Reporter: nikolai.kos...@theqtcompany.com CC: kli...@google.com, llvm-bugs@lists.llvm.org Classification: Unclassified ---8<--- shell session start ---8<--- % cat -n header.hpp 1 #include_next <iostream> % /usr/bin/clang-3.6 -fsyntax-only -x c++-header header.hpp header.hpp:1:2: warning: #include_next in primary source file #include_next <iostream> ^ 1 warning generated. % ---8<--- shell session end ---8<--- This warning is expected when using clang as a compiler. However, it also occurs when using libclang. There does not seem to be an option to disable this warning. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs