Skip to content

Has there been a change in namespaces since 2024-07-08? #654

Answered by zeux
aral-matrix asked this question in Q&A
Discussion options

You must be logged in to vote

Furthermore, the struct pugi::xml_node_struct definition is no longer understood by the compiler

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aral-matrix
Comment options

Answer selected by aral-matrix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants