been using 17.12 on windows 10 for a long time and still works fine but using 20.03 i have to set up my compilers every time i open codeblocks and it erases all the libraries under linker settings in the project build options but only for the general settings, libraries added under specific debug and release builds are still there. it also erases general include directories.
17.12 will do this only if i open the project in 20.03 then try to go back to 17.12 but 20.03 will do it everytime even if i dont open the project in the older version. seems like project file isnt being saved correctly or something.
not sure if this is just because i created the project a long time ago under a older version or what. i havent tried this with a project created initially with 20.03 but i think it wouldnt matter since the path under toolchain executables is erased without a project ever opened even though the entry for compilers i manually add are still there. also havent tried running codeblocks as admin but i think that would be weird since i never needed to do that with 17.12.
any suggestions to solve this without creating a new project in 20.03 and adding all my files and options would be nice, kind of doubt that would even work anyways, since i like the new dpi stuff because in 17.12 text looks super jagged when global windows scaling is increased.
edit: okay, i may have fixed it erasing the toolchain executable path by deleting the codeblocks folder under AppData/Roaming for my 17.12 install and deleting AppData folder in the 20.03 folder (i guess because i installed this version as portable), then setting up my compiler, saving everything then reopening codeblocks shows the path to compiler still there but the compiler flags section is completely blank now.
this still doesnt seem to fix issues with the project file itself. the first time i tried opening the project it seemed okay but after saving everything again and trying to reopen it didnt save the compiler for the project so would still need a solution for this unless it somehow fixes itself after setting everything up again.
i had a problem with compiler flags page being blank before in older versions that i solved by deleting AppData or some config file in there but i dont remember since that was so long ago and it only appeared now after just trying that.