[Qt-creator] #if 0 not evaluated?

alexis jeandet alexis.jeandet at lpp.polytechnique.fr
Mon Aug 31 09:37:06 CEST 2015


Hi,

I'm using Qt creator 3.4.2 built with Qt 5.5.0, the one distributed
with Fedora 22. I also use the Qt creator's builtin code model(same
issue with clang).
Maybe it disappear in QTC 3.5, I will check with 3.5 then fill a
bugreport.

Best regards,
Alexis.
Le lundi 31 août 2015 à 05:20 +0000, Stenger Christian a écrit :
> 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 (Co
> mponents: 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
> _______________________________________________
> 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