Skip to content
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

gcc7 stfdef.h mentions __float128 on i686 breaking preprocessing #200

Closed
juhp opened this issue Feb 26, 2017 · 0 comments
Closed

gcc7 stfdef.h mentions __float128 on i686 breaking preprocessing #200

juhp opened this issue Feb 26, 2017 · 0 comments

Comments

@juhp
Copy link
Contributor

juhp commented Feb 26, 2017

Fedora 26 will ship gcc7, which has stddef.h that increases i686 max alignment to 16 specifically for _Float128. This breaks c2hs preprocessing on i686 with gtk2hs-buildtools with gcc7 on i686.

Building glib-0.13.2.2...
Preprocessing library glib-0.13.2.2...
gtk2hsC2hs: Error in C header file.
/usr/lib/gcc/i686-redhat-linux/7/include/stddef.h:435: (column 3) [FATAL] 
  >>> Syntax error!
  The symbol `__float128' does not fit here.

This is with latest gtk2hs-buildtools-0.13.2.2.

I don't think gcc-7.0 has been officially released yet (though I guess it will be soon) but I am opening this ticket as a heads-up.

hamishmack added a commit that referenced this issue Aug 16, 2017
Add support for `__float128` (fixes #200)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant