[cfe-dev] Building LLVM and Clang with EKOPath 4

Konstantin Tokarev annulen at yandex.ru
Wed May 30 17:53:14 PDT 2012


31.05.2012, 04:46, "Richard Smith" <richard at metafoo.co.uk>:
> On Wed, May 30, 2012 at 12:55 PM, Konstantin Tokarev <annulen at yandex.ru> wrote:
>> 30.05.2012, 22:29, "David Blaikie" <dblaikie at gmail.com>:
>>> This I can't explain - what errors are given that motivate this change?
>>
>> There were several unresolved symbols coming from classes declared in these namespaces. Probably it's a bug in compiler which erroneously uses internal linking for symbols declared in anonymous namespace. For the record, this bug affects only derivatives of RecursiveASTVisitor template.
>
> Does the link succeed if you move the out-of-line definitions of the class members into the anonymous namespace?

These classes don't have members with out-of-line definitions.

-- 
Regards,
Konstantin



More information about the cfe-dev mailing list