<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 --- - dragonegg at r181010 fails to compile under clang"
href="http://llvm.org/bugs/show_bug.cgi?id=15903">15903</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>dragonegg at r181010 fails to compile under clang
</td>
</tr>
<tr>
<th>Product</th>
<td>dragonegg
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>baldrick@free.fr
</td>
</tr>
<tr>
<th>Reporter</th>
<td>howarth@nitro.med.uc.edu
</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>At r181010, dragonegg fails to compile under clang with the errors of the
form...
Compiling Backend.cpp
clang++ -c -I/sw/src/fink.build/dragonegg-gcc47-3.3-0/dragonegg-3.3/include/x86
-I/sw/src/fink.build/dragonegg-gcc47-3.3-0/dragonegg-3.3/include/darwin -g
-DENABLE_BUILD_WITH_CXX -DENABLE_LTO -I/sw/include -I/sw/opt/llvm-3.3/include
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-fno-rtti -MD -MP -DIN_GCC -DLLVM_VERSION=\"3.3svn\"
-DTARGET_TRIPLE=\"x86_64-apple-darwin12.3.0\" -DGCC_MAJOR=4 -DGCC_MINOR=7
-DGCC_MICRO=4 -I/sw/src/fink.build/dragonegg-gcc47-3.3-0/dragonegg-3.3/include
-isystem/sw/lib/gcc4.7/lib/gcc/x86_64-apple-darwin12.3.0/4.7.4/plugin/include
-Wall -Wextra -DENABLE_LLVM_PLUGINS -I/sw/opt/llvm-3.3/include -fPIC
-fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wmissing-field-initializers -pedantic -Wno-long-long -Wnon-virtual-dtor -O3
-DNDEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
/sw/src/fink.build/dragonegg-gcc47-3.3-0/dragonegg-3.3/src/Backend.cpp
/sw/src/fink.build/dragonegg-gcc47-3.3-0/dragonegg-3.3/src/Backend.cpp:315:3:
error: call to 'LLVMInitializeX86TargetInfo' is ambiguous
DoInit(LLVM_TARGET_NAME, TargetInfo);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The same build of dragonegg against FSF gcc 4.7.4svn using the FSF g++ 4.7.4svn
compiler succeeds without errors or warnings. The failing clang compiler is
Apple clang 4.2 from Xcode 4.6.2.</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>