pragma(inline, true) errors?
jmh530
john.michael.hall at gmail.com
Fri Apr 2 17:25:43 UTC 2021
On Friday, 2 April 2021 at 17:00:35 UTC, Steven Schveighoffer
wrote:
> [snip]
>
> I don't really care about inlining or not, but I'm forced to
> reckon with this, because I've taken over maintenance of a
> package that puts "pragma(inline, true):" at the top of a
> module, and therefore warnings are being spat out. So I want to
> ask the question, is this a bug? What is the expectation?
> Should we just change the description to "issue a informational
> warning in some cases when the function cannot be inlined"?
> [snip]
It only does warnings when you use the -wi flag right? Otherwise
it's an error. Is there a problem with the error not being
generated when you don't have warnings turned on?
More information about the Digitalmars-d
mailing list