<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:vince@nethacker.com" title="Vince Harron <vince@nethacker.com>"> <span class="fn">Vince Harron</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - lots of warnings when building lldb"
href="https://llvm.org/bugs/show_bug.cgi?id=19418">bug 19418</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>vince@nethacker.com
</td>
</tr>
<tr>
<td style="text-align:right;">Assignee</td>
<td>lldb-dev@cs.uiuc.edu
</td>
<td>vince@nethacker.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - lots of warnings when building lldb"
href="https://llvm.org/bugs/show_bug.cgi?id=19418#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - lots of warnings when building lldb"
href="https://llvm.org/bugs/show_bug.cgi?id=19418">bug 19418</a>
from <span class="vcard"><a class="email" href="mailto:vince@nethacker.com" title="Vince Harron <vince@nethacker.com>"> <span class="fn">Vince Harron</span></a>
</span></b>
<pre>We're mostly using clang these days.
It would be nice to fix these though, because we do need to build with gcc in
certain circumstances.
cc1plus: warning: unrecognized command line option "-Wno-deprecated-register"
It looks like this one only pops up if there are other warnings in the file.
Strange.
$ cat ~/dev/main.cpp
int main() { return 0; }
$ /usr/bin/g++ -Wno-deprecated-declarations ~/dev/main.cpp
$
$ cd /usr/local/google/home/vharron/ll/tot/eclipse/gcc/tools/lldb/tools/driver
&& /usr/bin/g++ -DGTEST_HAS_RTTI=0 -DHAVE_ROUND -DLIBXML2_DEFINED -D_DEBUG
-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -fuse-ld=gold -fPIC -fvisibility-inlines-hidden -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long
-Wno-maybe-uninitialized -Wno-comment -std=c++11 -Wno-deprecated-declarations
-Wno-unknown-pragmas -Wno-deprecated-register -fno-exceptions -fno-rtti -g
-I/usr/local/google/home/vharron/ll/tot/eclipse/gcc/tools/lldb/tools/driver
-I/usr/local/google/home/vharron/ll/tot/llvm/tools/lldb/tools/driver
-I/usr/local/google/home/vharron/ll/tot/llvm/tools/lldb/include
-I/usr/local/google/home/vharron/ll/tot/eclipse/gcc/tools/lldb/include
-I/usr/local/google/home/vharron/ll/tot/eclipse/gcc/include
-I/usr/local/google/home/vharron/ll/tot/llvm/include -I/usr/include/python2.7
-I/usr/include/x86_64-linux-gnu/python2.7
-I/usr/local/google/home/vharron/ll/tot/llvm/tools/lldb/../clang/include
-I/usr/local/google/home/vharron/ll/tot/eclipse/gcc/tools/lldb/../clang/include
-I/usr/include/libxml2 -fno-exceptions -fno-rtti -o
CMakeFiles/lldb.dir/Driver.cpp.o -c
/usr/local/google/home/vharron/ll/tot/llvm/tools/lldb/tools/driver/Driver.cpp
/usr/local/google/home/vharron/ll/tot/llvm/tools/lldb/tools/driver/Driver.cpp:
In function ‘FILE* PrepareCommandsForSourcing(const char*, size_t, int*)’:
/usr/local/google/home/vharron/ll/tot/llvm/tools/lldb/tools/driver/Driver.cpp:870:10:
warning: variable ‘success’ set but not used [-Wunused-but-set-variable]
bool success = true;
^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-deprecated-register"
[enabled by default]
$
(fix the warning and it goes away)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>