Has there been a change in namespaces since 2024-07-08? #654
-
In the OpenXLSX project, I am expanding upon the pugi::xml_node like so: In order to have these member functions of So - forgive my ignorance - I duplicated the definition here:
However, trying the most recent commit of pugixml, I find that now - without any change to the namespace logic that I can see - Furthermore, the Compiler error example:
Is someone able to help me navigate the minefield of namespaces here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This would happen if header-only mode is not enabled anymore. Nothing changed in pugixml around that so it would be some issue with build configuration on your side. Separately I would strongly recommend using |
Beta Was this translation helpful? Give feedback.
This would happen if header-only mode is not enabled anymore. Nothing changed in pugixml around that so it would be some issue with build configuration on your side.
Separately I would strongly recommend using
xml_node::type()
,xml_node::previous_sibling()
et al instead of relying on pugixml internals and especially instead of redefining internal pugixml macros with an assumed internal memory layout. These may change with no notice or release notes.