[Qt-creator] struct initializer and the parser

Roberto Raggi roberto.raggi at trolltech.com
Tue Jan 13 15:59:04 CET 2009


Hi,

On Jan 13, 2009, at 3:25 PM, Thomas Fannes wrote:

> Hello,
>
> I think there is a small error in the qt parser for qt creator. If I
> define a struct and use anonymous initialization of that struct, the
> qt parser gives me an error: "expected toke `;' got `{'". Maybe it's
> not very good coding practice, but it's allowed in the ansi standard,
> so ...

The good news is today we implemented support for C99/g++ compound  
literals, but it will take some time for the fix to show up in the  
public git repository.

ciao robe





More information about the Qt-creator-old mailing list