On 2021/05/23 12:25, Brad Smith wrote:
> On 5/22/2021 1:25 AM, Rafael Sadowski wrote:
> > emulators/mame
> >
> > 9769 c++ -O2 -pipe -I/usr/local/include -I/usr/X11R6/include
> > -I/usr/local/include/lua-5.3/ -Wno-unknown-warning-option
> > -Wno-ignored-qualifiers -fno-ret-pro
> > 9770 In file included from ../../../../../src/emu/hashfile.cpp:20:
> > 9771 In file included from /usr/local/include/pugixml.hpp:1435:
> > 9772 ../../../../../3rdparty/pugixml/src/pugixml.cpp:3933:18: error: use of
> > undeclared identifier 'format_attribute_single_quote'
> > 9773 if (flags &
> > format_attribute_single_quote)
> > 9774 ^
> > 9775 ../../../../../3rdparty/pugixml/src/pugixml.cpp:3940:18: error: use of
> > undeclared identifier 'format_attribute_single_quote'
> > 9776 if (flags &
> > format_attribute_single_quote)
> > 9777 ^
> > 9778 ../../../../../3rdparty/pugixml/src/pugixml.cpp:3951:20: error: use of
> > undeclared identifier 'format_skip_control_chars'
> > 9779 if (!(flags &
> > format_skip_control_chars))
> > 9780 ^
> > 9781 ../../../../../3rdparty/pugixml/src/pugixml.cpp:4077:44: error: use of
> > undeclared identifier 'format_attribute_single_quote'
> > 9782 const char_t enquotation_char = (flags &
> > format_attribute_single_quote) ? '\'' : '"';
> > 9783 ^
> > 9784 ../../../../../3rdparty/pugixml/src/pugixml.cpp:12099:38: error:
> > incompatible operand types ('pugi::xpath_node' and 'pugi::xpath_node *')
> > 9785 xpath_node* storage = (size_ <= 1) ? _storage :
> > static_cast<xpath_node*>(impl::xml_memory::allocate(size_ *
> > sizeof(xpath_node)));
> > 9786 ^ ~~~~~~~~
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > 9787 ../../../../../3rdparty/pugixml/src/pugixml.cpp:12111:14: error:
> > invalid operands to binary expression ('pugi::xpath_node *' and
> > 'pugi::xpath_node')
> > 9788 if (_begin != _storage)
> > 9789 ~~~~~~ ^ ~~~~~~~~
>
> MAME does not even use Boost.
>
Likely a conflict between the internal copy of pugixml and the one in
textproc/pugixml.