-
Notifications
You must be signed in to change notification settings - Fork 95
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
include guard in the single header version #246
Comments
biojppm
added a commit
to biojppm/cmake
that referenced
this issue
Apr 12, 2022
biojppm
added a commit
to biojppm/c4core
that referenced
this issue
Apr 12, 2022
biojppm
added a commit
to biojppm/c4core
that referenced
this issue
Apr 12, 2022
biojppm
added a commit
that referenced
this issue
Apr 12, 2022
@biojppm Thanks! Is it possible to make a release with this fix? I'm currently relying on fetching the single header version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, isn't the include guard broken in the single header version of the library, or am I missing something?
There's is no macro
#define _RYML_SINGLE_HEADER_AMALGAMATED_HPP_
anywhere and nothing stops the header from being included in translation unit multiple times. I added it on the second line and it fixed the symbol redefinition errors I was getting before.The text was updated successfully, but these errors were encountered: