<div dir="ltr"><div><span style="font-family:monospace"><font color="#000000"><br></font></span></div><div><span style="font-family:monospace"><font color="#000000">It does not give any error</font></span></div><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,84,255)"><div><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,84,255)"><br></span></span></div><div><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,84,255)"><br></span></span></div>~</span><span style="color:rgb(0,0,0)">$ clang -ferror-limit=100 -fspell-checking -Wunused-parameter -Wunreachable-code -Wall -std=c++11 -nostdinc -nostdinc++ -xc++ -Wno-gnu-zero-variadic-macro-arguments -isystem/usr/include/c++/11 -isystem/usr/include/x86_</span>64-linux-gnu/c++/11 -isystem/usr/include/c++/11/backward -isystem/usr/local/include -isystem/usr/include/x86_64-linux-gnu -isystem/usr/include -isystem /usr/lib/llvm-11/lib/clang/11.1.0/include -imacros /home/enes/clan_defines.cpp -working-directory/media/enes/MyFiles/programming/cpp/cmakeExamples/ex1/build /media/enes/MyFiles/programming/cpp/cmakeExamples/ex1/main.cpp<br>
<br></span></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 11, 2022 at 9:00 PM Milian Wolff <<a href="mailto:mail@milianw.de">mail@milianw.de</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 Montag, 11. April 2022 13:29:48 CEST Enes Albay wrote:<br>
> I am working on debian bullseye.<br>
> <br>
> kde/build/kdevelop/bin$ uname -a<br>
> Linux enes-albay 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17)<br>
> x86_64 GNU/Linux<br>
<br>
OK, now put the `#define ...' lines into a file and then call this:<br>
<br>
> Invocation: clang -ferror-limit=100 -fspell-checking  -Wunused-parameter<br>
> -Wunreachable-code -Wall -std=c++11 -nostdinc -nostdinc++ -xc++<br>
> -Wno-gnu-zero-variadic-macro-arguments -isystem/usr/include/c++/11<br>
> -isystem/usr/include/x86_64-linu<br>
> x-gnu/c++/11 -isystem/usr/include/c++/11/backward<br>
> -isystem/usr/local/include -isystem/usr/include/x86_64-linux-gnu<br>
> -isystem/usr/include -isystem /usr/lib/llvm-11/lib/clang/11.1.0/include<br>
> -imacros /tmp/kdevelop.SaQcpd -working-directory/<br>
> media/enes/MyFiles/programming/cpp/cmakeExamples/ex1/build<br>
> /media/enes/MyFiles/programming/cpp/cmakeExamples/ex1/main.cpp<br>
<br>
But replace the path after `-imacros` with the path to the file you created <br>
above. Does that reproduce the issue?<br>
<br>
Thanks<br>
<br>
-- <br>
Milian Wolff<br>
<a href="mailto:mail@milianw.de" target="_blank">mail@milianw.de</a><br>
<a href="http://milianw.de" rel="noreferrer" target="_blank">http://milianw.de</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div style="text-align:left">Enes Albay</div></div></div>