New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configure.ac G_HAVE_ISO_VARARGS problems #8587
Comments
Change 3 ifdef versions to one portable one. Remove supporting autoconf that did not work as intended. See mono#8587.
From @jaykrell comment Sometimes gcc allows nested functions, sometimes not, i.e. Apple configuration. Solution is use newer-fangled AC_COMPILE_IFELSE.
Also I don't think the intermediate have_iso_varargs is needed. |
Or if the parameters end up adjacent, unlike g_assertf, just consider "format" part of "..." and just say VA_ARGS to take both, with whatever comma the user put in. |
Change 3 ifdef versions to one portable one. Remove supporting autoconf that did not work as intended. See #8587.
Fixed. |
Change 3 ifdef versions to one portable one. Remove supporting autoconf that did not work as intended. See mono/mono#8587. Commit migrated from mono/mono@f3157ed
In configure.ac we have:
This does not work in the way intended.
A main() wrapper is supplied and it tries to compile:
giving:
The text was updated successfully, but these errors were encountered: