<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 --- - Using -Wno-unused-local-typedef does not disable all warnings"
href="http://llvm.org/bugs/show_bug.cgi?id=22624">22624</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Using -Wno-unused-local-typedef does not disable all warnings
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</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>Driver
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>juergen.hunold@gmx.de
</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>Created <span class=""><a href="attachment.cgi?id=13894" name="attach_13894" title="Compile command used.">attachment 13894</a> <a href="attachment.cgi?id=13894&action=edit" title="Compile command used.">[details]</a></span>
Compile command used.
Using current clang++ (trunk 229641) I still get -Wunused-local-typedef
warnings even if I specify -Wno-unused-local-typedef to disable this warning.
I'm using -Weverything and disable all irrelevant warnings. See attached file
compile.txt for the command line.
This can be reproduced with a current boost, using Boost.Concept. See
compile.txt for details.
Diagnosis:
In file included from stl_concept_check.cpp:15:
../../boost/concept_check.hpp:904:11: warning: unused typedef
'boost_concept_check904' [-Wunused-local-typedef]
BOOST_CONCEPT_ASSERT((BinaryPredicate<value_compare,value_type_,value_type_>));
^
../../boost/concept/assert.hpp:43:5: note: expanded from macro
'BOOST_CONCEPT_ASSERT'
BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
^
../../boost/concept/detail/general.hpp:79:7: note: expanded from macro
'BOOST_CONCEPT_ASSERT_FN'
BOOST_PP_CAT(boost_concept_check,__LINE__) \
^
../../boost/preprocessor/cat.hpp:22:32: note: expanded from macro
'BOOST_PP_CAT'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
^
../../boost/preprocessor/cat.hpp:29:34: note: expanded from macro
'BOOST_PP_CAT_I'
# define BOOST_PP_CAT_I(a, b) a ## b
^
<scratch space>:153:1: note: expanded from here
boost_concept_check904
^
26 warnings generated.
This also involves Boost.PP and is most probably related to this
<scratch_space>. Dumping the preprocessed source and compiling the dump lead to
different messages.</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>