|
Boost : |
Subject: Re: [boost] [winapi] [thread] Conflicting declarations on MinGW
From: AgustÃn K-ballo Bergé (kaballo86_at_[hidden])
Date: 2015-12-31 15:07:27
On 12/31/2015 4:56 PM, Rob Stewart wrote:
> On December 31, 2015 9:59:43 AM EST, "AgustÃn K-ballo Bergé" <kaballo86_at_[hidden]> wrote:
>>
>> However, for Boost.Thread to start dumping stuff in the global
>> namespace sounds like a regression to me.
>
> Doesn't using extern "C" mean the name is in the global namespace? Did I miss something?
>
> IOW, putting the declaration in a namespace or not has no effect on the generated symbols or name lookup.
No, extern "C" affects linking, not name lookup.
Regards,
-- AgustÃn K-ballo Bergé.- http://talesofcpp.fusionfenix.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk