<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - gcc compilation option -no-integrated-cpp unsupported"
href="http://llvm.org/bugs/show_bug.cgi?id=16194">16194</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>gcc compilation option -no-integrated-cpp unsupported
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pabuhr@uwaterloo.ca
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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++, <a href="http://plg.uwaterloo.ca/~usystem/uC++.html">http://plg.uwaterloo.ca/~usystem/uC++.html</a>, 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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>