<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - Set a define when using -fms-extensions"
href="http://llvm.org/bugs/show_bug.cgi?id=19444">bug 19444</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;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>rnk@google.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WORKSFORME
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - Set a define when using -fms-extensions"
href="http://llvm.org/bugs/show_bug.cgi?id=19444#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - Set a define when using -fms-extensions"
href="http://llvm.org/bugs/show_bug.cgi?id=19444">bug 19444</a>
from <span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span></b>
<pre>Look for _MSC_EXTENSIONS:
$ clang++ -fno-ms-extensions -dM -E -x c - < /dev/null | grep MSC_EXT
$ clang++ -fms-extensions -dM -E -x c - < /dev/null | grep MSC_EXT
#define _MSC_EXTENSIONS 1
Clang will turn on -fms-extensions by default when targeting Windows, so that
may have fooled your test.
Also, you can use the C++11 standard keyword 'final' instead of 'sealed', which
is what MSDN recommends:
<a href="http://msdn.microsoft.com/en-us/library/0w2w91tf.aspx">http://msdn.microsoft.com/en-us/library/0w2w91tf.aspx</a>
clang-cl defaults to C++11, since MSVC's C++11 support is enabled by default.</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>