Clion 2019.2 gives a says there is a lot of errors, while project builds and runs well

Answered

Hello, im using Clion 2019.2 on Manjaro KDE 18.3, im having that kind of issue: Clion says, that he cant find bits/stdc++.h file, but when i run the program it runs ok, that errors are really annoying, how can i fix them?in case if it matters: i use -DEBUG_LEVEL=1

7 comments
Comment actions Permalink

Hi!

Please provide a screenshot of File | Settings | Build, Execution, Deployment | Toolchains (please capture the screenshot after the compiler detection is completed).

0
Comment actions Permalink

@Anna
Thank you for your answer, here it is

0
Comment actions Permalink

Please do gcc --version in Terminal and show the result.

0
Comment actions Permalink

@Anna

here it is:

[valery@valery-pc ~]$ gcc --version
gcc (GCC) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
Это свободно распространяемое программное обеспечение. Условия копирования
приведены в исходных текстах.

Без гарантии каких-либо качеств, включая
коммерческую ценность и применимость для каких-либо целей.
0
Comment actions Permalink

Unfortunately, we didn't manage to reproduce the issue on our side.

Please do Tools | CMake | Reset Cache and Reload Project. Does it help? If it doesn't, please open a problematic file in the editor, make sure the editor with the file is focused, do Help | Find Action and select Show Compiler Info action there. Then show the result here or send it to clion-support at jetbrains.com.

1
Comment actions Permalink

@Anna
thank you, Tools | CMake | Reset Cache and Reload Project worked for me

0
Comment actions Permalink

I'm glad it helped!

0

Please sign in to leave a comment.