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 <[email protected]> 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. > > http://llvm-reviews.chandlerc.com/D1670 > > COMMIT > http://llvm-reviews.chandlerc.com/rL190675 >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
