You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ryml can be used as a single header, or as a simple library:
#if defined(RYML_SINGLE_HEADER) // using the single header directly in the executable
#defineRYML_SINGLE_HDR_DEFINE_NOW
#include<ryml_all.hpp>
#elif defined(RYML_SINGLE_HEADER_LIB) // using the single header from a library
#include<ryml_all.hpp>
#else
#include<ryml.hpp>// <ryml_std.hpp> is needed if interop with std containers is// desired; ryml itself does not use any STL container.// For this sample, we will be using std interop, so...
#include<ryml_std.hpp>// optional header, provided for std:: interop
#include<c4/format.hpp>// needed for the examples below
#endif
However, I got lots of error like this:
/root/.conan2/p/b/rapidfaf59bb62cfc8/p/include/c4/yml/common.hpp:617:5: error: there are no arguments to ‘C4_UNREACHABLE_AFTER_ERR’ that depend on a template parameter, so a declaration of ‘C4_UNREACHABLE_AFTER_ERR’ must be available [-fpermissive]
617 | C4_UNREACHABLE_AFTER_ERR();
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I copy and paste the "include" part from a code.
However, I got lots of error like this:
Beta Was this translation helpful? Give feedback.
All reactions