On 7/17/19 7:02 AM, Ralph Lange via Core-talk wrote:
>
>
> On Mon, 15 Jul 2019 at 19:57, Michael Davidsaver <mdavidsaver at gmail.com <mailto:mdavidsaver at gmail.com>> wrote:
>
> On 7/15/19 12:55 AM, Ralph Lange via Core-talk wrote:
>
> > 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>
>
>
> Nope - does not change anything.
I happened to notice
> Forwarding Flags to Clang Code Model
>
> The .cxxflags and .cflags files contain command line flags for the Clang code model on a single line.
>
> For example, specify the -std=c++11 to set the language version for parsing as C++11.
https://doc.qt.io/qtcreator/creator-project-generic.html#forwarding-flags-to-clang-code-model
Not sure which version of qt-creator introduces this. atm. the manual is for 4.11.1
Also, .includes can contain relative paths, which is what I was actually looking for.
Attachment:
signature.asc
Description: OpenPGP digital signature
- Navigate by Date:
- Prev:
Build failed: epics-base base-fix-log-issues-9 AppVeyor via Core-talk
- Next:
Re: [Merge] ~dirk.zimoch/epics-base:dbChannelForDBLinks into epics-base:7.0 Dirk Zimoch 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:
Build failed: epics-base base-fix-log-issues-9 AppVeyor via Core-talk
- Next:
[Merge] ~dirk.zimoch/epics-base:InitEventFreelistsEarly into epics-base:3.15 Dirk Zimoch 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
|