I tested it under Linux Mint 19.3 Xfce.... and it works fine...
sudo apt-get install gcc-8 g++-8
I think this is some search path issue for the code completion...
How have you installed the self build gcc?
Use the current gcc compiler in your system and build the new one from the source... It is a lot easy (more straight forward) to do it in Linux than Windows...The question was more, how did you use it in codeblocks. How did you give codeblocks the paths... Did you created a package and installed it, or did you used configure --prefix or did you used the default for configure....
QuoteUse the current gcc compiler in your system and build the new one from the source... It is a lot easy (more straight forward) to do it in Linux than Windows...The question was more, how did you use it in codeblocks. How did you give codeblocks the paths... Did you created a package and installed it, or did you used configure --prefix or did you used the default for configure....
installing is not building...
Actually, you don't have to change any setting in CodeBlocks. I just create a script to change all the soft links in /usr/bin point to appropriate version.... for example, /usr/bin/gcc points to gcc-9.3 instead of gcc-7.5, g++ points to g++-9.3 , etc... This way, your whole system is using the 9.3 version (even if you use different IDE)... and if you want to switch back to older version, change the links.
Any ideas what is happening here?The CC hasn't been updated to support the stupidly broken modern initialization style which doesn't work (tm) :)
I see. That is what I suspected. Thanks for confirming that.Any ideas what is happening here?The CC hasn't been updated to support the stupidly broken modern initialization style which doesn't work (tm) :)
Patches welcome.