KeyWorksRW / wxUiEditor

RAD tool used to create and maintain wxWidgets UI elements.
Apache License 2.0
66 stars 7 forks source link

Remove inline functions to fix Unix build #1294

Closed Randalphwa closed 11 months ago

Randalphwa commented 11 months ago

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.