EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: qt-creator >=4.8 PSA
From: Ralph Lange via Core-talk <[email protected]>
To: EPICS Core Talk <[email protected]>
Date: Mon, 15 Jul 2019 09:55:20 +0200
On Mon, 15 Jul 2019 at 05:57, Michael Davidsaver via Core-talk <[email protected]> wrote:
This weekend I updated my development system with the new debian 10.
This brought with it qt-creator 4.8, which brought with it the new
"clang code model" which attempt to provide compiler error messages
while editing.

I was greeted with a lot of red.

After some frustrating fumbling around I figured out that this feature
does not report indirect #include errors at all.  The symptom is
a lot of errors about "missing ..." for things which are clearly not
missing.

Understanding this entails running qt-creator with:

> export QT_LOGGING_RULES=qtc.clang*=true

And looking at stdout for errors about missing headers.

With Base the problems I hit were not finding the generated
epicsVersion.h, and wrong order of osi and complr includes.
Both are fixed in the *.includes file .

Hi Michael,

I am using Qt Creator 4.9.2 on Windows for two weeks now, and luckily have not seen the issues that you are describing. For the most part, the clang code model seems to work fine.

However, when set to use the VisualStudio compiler, all my throw keywords are marked with "error: cannot use 'throw' with exceptions disabled" - but I can't seem to find how to enable exceptions.

Any ideas anyone?

Cheers,
~Ralph


Replies:
Re: qt-creator >=4.8 PSA Michael Davidsaver via Core-talk
References:
qt-creator >=4.8 PSA Michael Davidsaver via Core-talk

Navigate by Date:
Prev: qt-creator >=4.8 PSA Michael Davidsaver via Core-talk
Next: Re: qt-creator >=4.8 PSA Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: qt-creator >=4.8 PSA Michael Davidsaver via Core-talk
Next: Re: qt-creator >=4.8 PSA Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
ANJ, 15 Jul 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·