[llvm-commits] [PATCH] Suppress "user-defined return type in extern C" warning under Clang

Aaron Ballman aaron at aaronballman.com
Tue Feb 14 12:42:06 PST 2012


On Tue, Feb 14, 2012 at 2:28 PM, David Blaikie <dblaikie at gmail.com> wrote:
> [+aaron who added this warning & was already looking into the fix for LLVM]
>
> Perhaps you've got the right fix - but at least Aaron won't keep
> working on it redundantly. It looks reasonable to me.

The patch looks like it will work the same for clang as it does for
MSVC, which is good.  But I'm a bit concerned as to why we have an
extern "C" function that returns a type that can't be represented in
C.  Is that the problem we should be solving instead?

~Aaron



More information about the llvm-commits mailing list