<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - -Wall is interpreted as -Weverything in the windows driver"
href="https://bugs.llvm.org/show_bug.cgi?id=43568">43568</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>-Wall is interpreted as -Weverything in the windows driver
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</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>C++
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>zahira.ammarguellat@intel.com
</td>
</tr>
<tr>
<th>CC</th>
<td>blitzrakete@gmail.com, dgregor@apple.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>ksh-3.2$ cat t.cpp
constexpr int const_expr = 0;
ksh-3.2$
ksh-3.2$ clang-cl -c -Wall t.cpp
t.cpp(1,1): warning: 'constexpr' specifier is incompatible with C++98
[-Wc++98-compat]
constexpr int const_expr = 0;
^
t.cpp(1,15): warning: unused variable 'const_expr' [-Wunused-const-variable]
constexpr int const_expr = 0;
^
2 warnings generated.
ksh-3.2$
ksh-3.2$ clang -c -Wall -### t.cpp
....
"clang-cl.EXE" "-cc1" "-triple" "x86_64-pc-windows-msvc19.15.26726" "-emit-obj"
"-mrelax-all" "-mincremental-linker-compatible" "-disable-free"
"-main-file-name" "t.cpp" "-mrelocation-model" "pic" "-pic-level" "2"
"-mthread-model" "posix" "-mframe-pointer=none" "-relaxed-aliasing"
"-fmath-errno" "-masm-verbose" "-mconstructor-aliases" "-munwind-tables"
"-target-cpu" "x86-64" "-mllvm" "-x86-asm-syntax=intel" "-D_MT"
"-flto-visibility-public-std" "--dependent-lib=libcmt"
"--dependent-lib=oldnames" "-stack-protector" "2" "-fms-volatile"
"-fdiagnostics-format" "msvc" "-dwarf-column-info" "-resource-dir"
"-Weverything" "-fdeprecated-macro" "-ferror-limit" "19" "-fmessage-length" "0"
"-fno-use-cxa-atexit" "-fms-extensions" "-fms-compatibility"
"-fms-compatibility-version=19.15.26726" "-std=c++14"
"-fdelayed-template-parsing" "-fobjc-runtime=gcc" "-fdiagnostics-show-option"
"-faddrsig" "-o" "t.obj" "-x" "c++" "t.cpp"
Shouldn't -Wall be translated to -Wall instead of -Weverything.</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>