Created attachment 119953 [details]
add AC_C_TYPEOF to configure.ac
configure should check to see via AC_C_TYPEOF whether __typeof__ needs to be used, in particular useful with strict ISO c options such as -std=c99
Please consider the attached patch
Thanks, fix pushed:
3322580..8d89fc5 master -> master
Author: Bryce Harrington <firstname.lastname@example.org>
AuthorDate: Mon Nov 6 11:28:58 2017 -0800
Commit: Bryce Harrington <email@example.com>
CommitDate: Mon Nov 6 11:35:24 2017 -0800
configure: Check for typeof
Check via the AC_C_TYPEOF macro if GCC's typeof is available. If it is
available via a different spelling, define typeof to that spelling.
Patch from and issue reported by Richard Palo.
Signed-off-by: Bryce Harrington <firstname.lastname@example.org>
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/93.