[PATCH] [-cxx-abi microsoft] Mangle user defined entry points properly
david.majnemer at gmail.com
Fri Sep 13 11:57:54 PDT 2013
They should not have extern "C" implicitly set. Doing so raises the
following diagnostic when they mix with other declarations:
linkage specification contradicts earlier specification for 'DllMain'
On Fri, Sep 13, 2013 at 11:00 AM, Reid Kleckner <rnk at google.com> wrote:
> There's one outstanding issue here, which is that now we generate
> invalid obj files if you overload one of these guys. =/
> IMO we should have an equivalent of CheckMain which marks them all
> implicitly extern "C", and then let other machinery take care of the rest.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits