[Qt-creator] #if 0 not evaluated?

Stenger Christian Christian.Stenger at theqtcompany.com
Mon Aug 31 07:20:07 CEST 2015


Hi,

I cannot reproduce the mentioned issue with neither 3.5 branch nor master, no matter if I'm using Qt Creator's builtin code model nor using experimental Clang code model. Checked the mentioned file as well as others.

Could you please try to provide more information (QC version, OS, Code model, ...) and file a bugreport at https://bugreports.qt.io (Components: C/C++ support).

Kind regards,
–°hristian


________________________________________
From: qt-creator-bounces+christian.stenger=theqtcompany.com at qt-project.org <qt-creator-bounces+christian.stenger=theqtcompany.com at qt-project.org> on behalf of alexis jeandet <alexis.jeandet at lpp.polytechnique.fr>
Sent: Saturday, August 29, 2015 11:58 AM
To: qt-creator
Subject: [Qt-creator] #if 0 not evaluated?

Hi,

I saw a weird behavior, a "#if 0" isn't expanded as it should be, the
code isn't grayed is it a bug?
Here is the file where I found this behavior:
https://github.com/codekipper/linux-sunxi/blob/audio_mainlining/sound/s
oc/sunxi/sunxi-i2s.c#L236

I tried on other files, I get the same behavior.

Best regards,
Alexis.
_______________________________________________
Qt-creator mailing list
Qt-creator at qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator



More information about the Qt-creator mailing list