-
Notifications
You must be signed in to change notification settings - Fork 67
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
C macro exposed in interface #127
Comments
This has also been reported by a Trilinos user in trilinos/Trilinos#11839. |
I just pushed a commit in master, renamed all EMPTY by SLU_EMPTY. |
That should help. Thanks! |
Could you please prefix the other defines that are in public headers too @xiaoyeli? |
There are lots of places using FALSE/TRUE; changing it will affect many files. |
utils_dist.h is included in superlu_defs.h, and thus exposes the following definition of EMPTY in the public interface:
superlu_dist/SRC/util_dist.h
Line 74 in 324d65f
This can cause a naming conflict when this include file is included ahead of another one using the same string "EMPTY". I just experienced that conflict with a CUDA header. I am able to avoid this issue by including the superlu header files after the CUDA ones in my code, but it would be better practice if that EMPTY string was never exposed in the public interface (I don't think it needs to). It may save some headaches to future users.
The text was updated successfully, but these errors were encountered: