-
Notifications
You must be signed in to change notification settings - Fork 3
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
Macros BMI_SUCCESS and BMI_FAILURE prevent co-inclusion with C++ bmi-cxx/bmi.hxx #12
Labels
Comments
The seemingly natural solution to this would be to replace the macros with
|
PhilMiller
added a commit
to NOAA-OWP/cfe
that referenced
this issue
Jun 11, 2024
11 tasks
PhilMiller
added a commit
to NOAA-OWP/cfe
that referenced
this issue
Jun 11, 2024
PhilMiller
added a commit
to NOAA-OWP/cfe
that referenced
this issue
Jun 11, 2024
PhilMiller
added a commit
to NOAA-OWP/topmodel
that referenced
this issue
Jun 11, 2024
Merged
11 tasks
hellkite500
pushed a commit
to NOAA-OWP/topmodel
that referenced
this issue
Jun 11, 2024
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The header
bmi.h
here contains these macro definitions:The C++ header
bmi.hxx
contains declarations of variables in with those exact same names. Thus, if a source file saysIt will fail to compile, because the compiler will see code that preprocesses to
This is a potential problem for codebases that want to support BMI modules written in either language, and not have to meticulously separate where the two different BMI language binding headers get included, or in which order.
The text was updated successfully, but these errors were encountered: