Thanks for the tip with 'make clean-zipfiles' - Code::Blocks doens't crash anymore.
But there is still one problem left with your fix: Now 'src/associations.h' is no longer included in 'src/environmentsettingsdlg.cpp' on linux as the functions declared in that header-file are not necessary on linux. But in this header-file the macro 'DEFAULT_BATCH_BUILD_ARGS' is defined, too. And this macro is still used by 'src/environmentsettingsdlg.cpp' in line 57 and thus the result is a compiler error.
I see two reasonable solutions for that:
- Remove the whole file-associations-stuff from the linux-build as it is simply needless on linux.
- Include 'src/associations.h' in 'src/environmentsettingsdlg.cpp' even in the linux build. This header file will define the needed macro and will declare some (unnecessary) functions. Although these functions are not defined anywhere there is no problem because these functions will not get used. This solutions may be some kind of dirty but it is really simple.
Perhaps, there is even a third way: I don't know where the macro 'DEFAULT_BATCH_BUILD_ARGS' is used, but if the file 'src/environmentsettingsdlg.cpp' is the only place then we could just move the macro there.