[LLVMbugs] [Bug 16194] New: gcc compilation option -no-integrated-cpp unsupported
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jun 2 08:37:10 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16194
Bug ID: 16194
Summary: gcc compilation option -no-integrated-cpp unsupported
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: pabuhr at uwaterloo.ca
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
I created the -no-integrated-cpp gcc command-line option to support insertion
of additional preprocessing phases after cpp. I use this feature in an
extension to C++ called uC++, http://plg.uwaterloo.ca/~usystem/uC++.html, which
adds advanced concurrency features to C++ (more features than the current
C++11).
clang does not support the gcc -no-integrated-cpp option, and it would be
really nice to have both gcc and clang able to compile uC++. I don't know if
the structure of clang would allow the -no-integrated-cpp option, but I thought
I'd ask. ... I just noticed there has been a request for the -B flag and it is
marked as "wontfix", and -B is needed to add additional preprocessors. It might
be possible to allow multiple preprocessors without the entire mechanism of -B.
In case you believe it is possible to preprocessor before calling clang, let me
say it is a nightmare to do it that way, and involves multiple calls to cpp.
So I've already seriously investigated this approach and abandoned it a long
time ago, which is why the -no-integrated-cpp command-line option exists.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130602/9d5a346b/attachment.html>
More information about the llvm-bugs
mailing list