<html>
<head>
<base href="http://bugzilla.gdcproject.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:yebblies@gmail.com" title="Daniel Murphy <yebblies@gmail.com>"> <span class="fn">Daniel Murphy</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Add pragma(inline) to the grammar"
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=205">bug 205</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>yebblies@gmail.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Add pragma(inline) to the grammar"
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=205#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Add pragma(inline) to the grammar"
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=205">bug 205</a>
from <span class="vcard"><a class="email" href="mailto:yebblies@gmail.com" title="Daniel Murphy <yebblies@gmail.com>"> <span class="fn">Daniel Murphy</span></a>
</span></b>
<pre>(In reply to thomas.bockman from <a href="show_bug.cgi?id=205#c2">comment #2</a>)
<span class="quote">> Nevermind - although it compiles, it turns out that my workaround doesn't
> actually control inlining on DMD.
>
> So, I still need
> pragma(inline, true):
> Or
> pragma(inline, true {
> }
> Added to the GDC grammar to be able to share one code base across all the
> major compilers.</span >
What about moving the pragma inside the function?
void func()
{
version (DigitalMars)
{
pragma(inline, true);
}
}
void main()
{
func();
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>