<div dir="ltr"><div>If it's of interest / helpful, this change in Audacity avoids kDevelop crashing: <a href="https://github.com/audacity/audacity/commit/7857769f96fa8bd6d9954ba5b59bf95dee0b93ec">https://github.com/audacity/audacity/commit/7857769f96fa8bd6d9954ba5b59bf95dee0b93ec</a></div><div><br></div><div>Steve<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 7 Jul 2019 at 23:54, Steve the Fiddle <<a href="mailto:stevethefiddle@gmail.com">stevethefiddle@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 7 Jul 2019 at 22:37, René J.V. Bertin <<a href="mailto:rjvbertin@gmail.com" target="_blank">rjvbertin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sunday July 07 2019 19:34:38 Steve the Fiddle wrote:<br>
<br>
<br>
>Am I not already asking "on the list"?<br>
<br>
No, you sent a few emails to me only, instead of to the list.<br>
<br>
>> To me this suggests that somehow the KDevelop parser adds a "using std" or<br>
>> similar that makes the std the active namespace. Go figure out where that<br>
>> happens ...<br>
>><br>
><br>
>Are you saying this is a "bug"?<br>
<br>
I'm not saying that it is, nor that it isn't. I would first need to understand what happens exactly, and why.<br>
<br>
>What do you mean "included via a compiler argument"?<br>
<br>
The `-include foo.h` compiler option tells the compiler to include a headerfile before including the headerfiles from the #include statements in the source code.<br></blockquote><div><br></div><div>Where are you looking? Where will I see these compiler arguments that you refer to?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
>The compiler arguments that I use (successfully) are:<br>
>../configure --with-lib-preference="local system" --with-ffmpeg="system"<br>
>--disable-dynamic-loading --with-mod-script-pipe --with-mod-nyq-bench<br>
>--enable-debug<br>
<br>
Those are not compiler arguments! They are configuration arguments that specify how you want the project to be built.<br>
<br>
>Interesting. Is there any documentation about custom defines in kDevelop?<br>
>How did you know to add those custom defines?<br>
<br>
Did you read the KDevelop handbook? <br></blockquote><div><br></div><div>This: <a href="https://docs.kde.org/trunk5/en/extragear-kdevelop/kdevelop/kdevelop.pdf" target="_blank">https://docs.kde.org/trunk5/en/extragear-kdevelop/kdevelop/kdevelop.pdf</a></div><div>Yes, but there is no mention of "defines" as far as I can see. Are they called something else in the handbook?</div><div><br></div><div>I don't see where it explains how to correctly set up include paths either.</div><div>Do I need to manually add every directory in the project?<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Select the Project/Open Configuration menu (I'm assuming you have only a single project open in KDevelop); in the dialog that opens you can now select "Language Support" and you will see tabs labelled "Includes/Imports" and "Defines".<br></blockquote><div><br></div><div>Yes, I've seen where to add defines, but Audacity has hundreds of defines. How did you know which defines needed to be added to kDevelop's configuration?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
>Could other custom defines be required?<br>
<br>
These have proven to be enough for me, but as I said, I don't do any real development on Audacity.<br></blockquote><div><br></div><div>Is there anyone in the kDevelop team that might be interested in, a) fixing the crash bug, b) helping the Audacity team to document setting up kDevelop for use with Audacity's code? Perhaps we can come to some arrangement that gives mutual benefit.<br></div><div><br></div><div>Steve<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
R.<br>
</blockquote></div></div>
</blockquote></div>