On 7/15/19 12:55 AM, Ralph Lange via Core-talk wrote:
> On Mon, 15 Jul 2019 at 05:57, Michael Davidsaver via Core-talk <[email protected] <mailto:[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?
Maybe ClangCodeModel.CustomCommandLineKey in the .creator file?
eg.
> <valuelist type="QVariantList" key="ClangCodeModel.CustomCommandLineKey">
> <value type="QString">-fexception</value>
> </valuelist>
Attachment:
signature.asc
Description: OpenPGP digital signature
- Replies:
- Re: qt-creator >=4.8 PSA Ralph Lange via Core-talk
- References:
- qt-creator >=4.8 PSA Michael Davidsaver via Core-talk
- Re: qt-creator >=4.8 PSA Ralph Lange via Core-talk
- Navigate by Date:
- Prev:
Re: qt-creator >=4.8 PSA Ralph Lange via Core-talk
- Next:
Re: [Merge] ~freddie-akeroyd/epics-base:msi_close_file into epics-base:3.15 Freddie Akeroyd via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: qt-creator >=4.8 PSA Ralph Lange via Core-talk
- Next:
Re: qt-creator >=4.8 PSA Ralph Lange via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
|