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

Builtin definitions #59

Open
remexre opened this issue Aug 7, 2017 · 2 comments
Open

Builtin definitions #59

remexre opened this issue Aug 7, 2017 · 2 comments
Labels
common-extension Support for a GCC, Clang, etc. language extension

Comments

@remexre
Copy link
Member

remexre commented Aug 7, 2017

/usr/include/x86_64-linux-gnu/bits/byteswap.h wants the __builtin_bswap32 and __builtin_bswap64 builtins to be defined if we're on a recent-ish version of GCC. Because we invoke cpp without passing any flags to tell it otherwise, we appear to be on GCC 5.4.1 (according to echo | cpp -dM | grep GNUC).

We should define these builtins.

@krame505
Copy link
Member

krame505 commented Aug 7, 2017 via email

@remexre
Copy link
Member Author

remexre commented Apr 28, 2022

This will get resolved when 66f3c04..7adfecd are merged; those are in #193 right now (because they're also something Dawn needed), but will can be split out if someone else needs it sooner.

@remexre remexre added the common-extension Support for a GCC, Clang, etc. language extension label Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common-extension Support for a GCC, Clang, etc. language extension
Projects
None yet
Development

No branches or pull requests

2 participants