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

Compiling with fflas.h can fail when termios.h is also included #57

Closed
embray opened this issue Sep 26, 2016 · 2 comments
Closed

Compiling with fflas.h can fail when termios.h is also included #57

embray opened this issue Sep 26, 2016 · 2 comments

Comments

@embray
Copy link

embray commented Sep 26, 2016

This is a fairly unusual corner case, but the standard header termios.h defines a macro called B0 that conflicts with the variable named B0 in fflas/fflas_igemm/igemm_kernels.inl. This can happen when compiling any source that happens to include both fflas.h and termios.h (one such case is described here: https://trac.sagemath.org/ticket/21578).

I would suggest simply renaming the variables.

@ClementPernet
Copy link
Member

This is terribly annoying that some std package define a macro named B0.
I see no simple way around it else than renaming. This is done in in 346498a .

@embray
Copy link
Author

embray commented Sep 26, 2016

Absolutely agree. Thanks for the quick fix.

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

2 participants