<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 --- - -fms-compatibility should always emit 'extern inline' functions and give them weak_odr linkage"
href="http://llvm.org/bugs/show_bug.cgi?id=19264">19264</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>-fms-compatibility should always emit 'extern inline' functions and give them weak_odr linkage
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>rnk@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>david.majnemer@gmail.com, llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Blocks</th>
<td>13707, 18887
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>MSVC always instantiates "extern inline" functions. Furthermore, prior to the
addition of /Zc:inline, it would never discard the separate instantiation of
the inline function, so the symbol would always be available for use from
another translation unit.
This is actually used by _AtlInitializeCriticalSectionEx. The intention
appears to be that the user of the library should include this header, and then
the ATL will pick up the definition from the user's object files.
I believe this was the cause of link errors when building nacl64.exe in
Chromium.</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>