gcc 11.4 doesn't support this -- it results in duplicate functions.
This PR temporarily hard-codes changes into the generated files for wxUiEditor to remove the inline keyword from the image functions. This was breaking Unix builds because the github action uses g++ version 11.4 which doesn't support the inline keyword for functions (it doesn't create them as a single linkage function).
While this hard-coding is in place, the wxUiEditor code can not be regenerated. I have a branch that I'm working on which will generate the correct code, but it's turning out to be quite complicated, and I want Unix builds to work in the meantime.
gcc 11.4 doesn't support this -- it results in duplicate functions.
This PR temporarily hard-codes changes into the generated files for wxUiEditor to remove the
inline
keyword from the image functions. This was breaking Unix builds because the github action uses g++ version 11.4 which doesn't support theinline
keyword for functions (it doesn't create them as a single linkage function).While this hard-coding is in place, the wxUiEditor code can not be regenerated. I have a branch that I'm working on which will generate the correct code, but it's turning out to be quite complicated, and I want Unix builds to work in the meantime.