User forums > Using Code::Blocks
Unrequested changes to compiler settings
gib:
I'm helping a student who is using CB in her research project. She is very much a learner, and relies on me a lot (the blind leading the blind). Initially she was working with the MinGW compilers that came installed with CB, but for various reasons we have switched to using mingw-w64\mingw32, i.e. we changed the Toolchains for the GNU C and Fortran compilers. I say 'we' because I, working on my home PC, am using the same setup as she is so that I can track what she's doing. Since I mostly work at home, we communicate almost solely by email, i.e. I don't see what she is seeing.
Yesterday she was building a C+Fortran DLL project successfully. This morning, she tells me, having left CB open, she added a Fortran file and tried to rebuild, but got a long list of pthread errors relating to one of the libraries. The added Fortran file has no connection with OpenMP (the reason for pthread). This was a complete mystery to me, and the mystery just changed when she informed me that she noticed that the GNU compiler toolchain settings had reverted to the CB MinGW compilers. After resetting the compilers to the separate MinGW installation everything is OK again.
Since I was not a first-hand witness to what she did I have only her word that she didn't change any setting this morning before attempting the build, but I have no reason to disbelieve her - she knows better than to mess with the settings. So my question is this: is there any way for the compiler settings to change without the user requesting it?
The CB version is 13.12, in case that's relevant.
Thanks
stahta01:
I have had happen with MSVC compilers before; but, that was several years ago.
If the CB configuration file is deleted, it will try to find an GCC compiler on CB startup.
Tim S.
gib:
In this case CB was left running overnight, nothing deleted or changed. Supposedly.
BlueHazzard:
1) I would use a newer version of codeblocks.... this is 4 years old..
2) Make sure you are using projects
What operating system are you using? Anti virus scanner?
gib:
I'm not sure what anti-virus program her machine has.
Not sure what you mean about using projects - I don't know how to use CB without a project.
Can I be certain that if I upgrade to the latest CB version everything that is currently working will continue to work the same? I'm being cautious because of previous experience (with VS).
Navigation
[0] Message Index
[#] Next page
Go to full version