<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 27/09/2021 19:43, David Blaikie
wrote:<br>
</div>
<blockquote
cite="mid:CAENS6Eu6ARQ-Cg38E26u_mvCO9vkBYgiU_AJiGE4nUZ8qGhvcA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div><br>
<a moz-do-not-send="true"
href="https://clang.llvm.org/docs/UsersManual.html#microsoft-extensions">https://clang.llvm.org/docs/UsersManual.html#microsoft-extensions</a><br>
"<span style="color:rgb(51,51,51);font-family:"DejaVu
Sans",Arial,Helvetica,sans-serif;font-size:14.4px;text-align:justify">For
compatibility with existing code that compiles with MSVC,
clang defines the </span><code class="gmail-docutils
gmail-literal gmail-notranslate"
style="background-color:rgb(226,226,226);font-size:1em;color:rgb(51,51,51);text-align:justify"><span
class="gmail-pre" style="hyphens: none;">_MSC_VER</span></code><span
style="color:rgb(51,51,51);font-family:"DejaVu
Sans",Arial,Helvetica,sans-serif;font-size:14.4px;text-align:justify"> and </span><code
class="gmail-docutils gmail-literal gmail-notranslate"
style="background-color:rgb(226,226,226);font-size:1em;color:rgb(51,51,51);text-align:justify"><span
class="gmail-pre" style="hyphens: none;">_MSC_FULL_VER</span></code><span
style="color:rgb(51,51,51);font-family:"DejaVu
Sans",Arial,Helvetica,sans-serif;font-size:14.4px;text-align:justify"> macros."</span> </div>
</div>
</div>
</blockquote>
<br>
Many thanks David. And is there something that's usually defined
for Clang but not for MSVC? Something equivalent to CLANG_VER or
CLANG_MAJOR_VER or whatever?<br>
<br>
John<br>
</body>
</html>