On segunda-feira, 3 de dezembro de 2012 07.53.07, Olivier Goffart wrote:
> I was able to reproduce the error by making QMetaTypeIdQObject a template.
> (On linux with both clang 3.1 and clang trunk)
> Attached the problematic testase.
> 
> I am not sure yet if this is a compiler bug or if we are indeed doing a
> copy.

Does it at least compile as:

        static QBasicAtomicInteger metatype_id { 0 };

(i.e., without the =)
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to