Snippets for xqilla 2.3.4 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/pf01yl43v0d2fyrbpyb9abaki3cnbv29-xqilla-2.3.4.drv.
-
./include/xqilla/utils/XPath2Utils.hpp:107:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 107 | register const XMLCh* psz1 = str1; | ^~~~~~~~ -
./include/xqilla/utils/XPath2Utils.hpp:108:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 108 | register const XMLCh* psz2 = str2; | ^~~~~~~~ -
./include/xqilla/utils/XPath2Utils.hpp:128:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 128 | register int cmp; | ^~~~~~~~ -
src/dom-api/XPath2NodeSerializer.cpp:49:10: warning: comparison of different enumeration types in switch statement ('NodeType' and 'xercesc_3_3::DOMXPathNamespace::XPathNodeType') [-Wenum-compare-switch] 48 | switch (nodeToWrite->getNodeType ()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 49 | case DOMXPathNamespace::XPATH_NAMESPACE_NODE: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/dom-api/XPath2NodeSerializer.cpp:49:10: warning: case value not in enumerated type 'NodeType' [-Wswitch]
-
src/utils/utf8proc/utf8proc.c:694:15: warning: initializing 'int8_t *' (aka 'signed char *') with an expression of type 'uint8_t[2]' (aka 'unsigned char[2]') converts between pointers to integer types with different sign [-Wpointer-sign] 694 | int8_t* sb_attr = last_bound_attr->sb_attr_queue; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
./include/xqilla/utils/XPath2Utils.hpp:107:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
src/items/Numeric.cpp:371:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 371 | sprintf(obuf, "%.*G", min(8,value1.significant_digits()), num); | ^ -
src/items/Numeric.cpp:382:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 382 | sprintf(obuf, "%.*G", min(17,value1.significant_digits()), num); | ^ -
../src/lexer/XQLexer.cpp:14082:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
../src/lexer/XQLexer.cpp:14083:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
../src/lexer/XQLexer.cpp:14084:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
../src/lexer/XQLexer.cpp:14160:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
../src/lexer/XQLexer.cpp:16048:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
../src/lexer/XQLexer.cpp:16049:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
../src/lexer/XQLexer.cpp:16050:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
../src/lexer/XQLexer.cpp:16181:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
../src/lexer/XQLexer.cpp:16182:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
../src/lexer/XQLexer.cpp:16188:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
../src/lexer/XQLexer.cpp:16215:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
../src/lexer/XQLexer.cpp:16216:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
../src/lexer/XQLexer.cpp:16218:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
../src/lexer/XQLexer.cpp:16237:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
../src/lexer/XQLexer.cpp:16239:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
../src/lexer/XQLexer.cpp:16247:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
../src/lexer/XQLexer.cpp:16248:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
../src/lexer/XQLexer.cpp:16250:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
-
./include/xqilla/utils/XPath2Utils.hpp:107:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 107 | register const XMLCh* psz1 = str1; | /nix/store/szpwxfkbnw35ayiav64w8vxipsf6viwl-bash-5.3p15/bin/bash ./libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I./src/config -I./include/ -I/nix/store/alsf6mx4i47w3gf8nbfdlqjfjsgwlrpr-xerces-c-3.3.0/include -I./src/lexer/ -std=c++14 -ftemplate-depth-50 -c -o Result.lo `test -f 'src/runtime/Result.cpp' || echo './'`src/runtime/Result.cpp -
src/schema/SequenceType.cpp:375:6: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare] 375 | if(this == NULL) { | ^~~~ ~~~~ -
src/xerces/Axis.cpp:103:14: warning: comparison of different enumeration types in switch statement ('NodeType' and 'xercesc_3_3::DOMXPathNamespace::XPathNodeType') [-Wenum-compare-switch] 63 | case DOMXPathNamespace::XPATH_NAMESPACE_NODE: { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/xerces/Axis.cpp:103:14: warning: case value not in enumerated type 'NodeType' [-Wswitch]
-
src/xerces/XercesNodeImpl.cpp:228:8: warning: case value not in enumerated type 'NodeType' [-Wswitch] 228 | case (DOMNode::NodeType)DOMXPathNamespace::XPATH_NAMESPACE_NODE: | ^ -
src/xerces/XercesNodeImpl.cpp:351:10: warning: comparison of different enumeration types in switch statement ('NodeType' and 'xercesc_3_3::DOMXPathNamespace::XPathNodeType') [-Wenum-compare-switch] 330 | case DOMXPathNamespace::XPATH_NAMESPACE_NODE: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/xerces/XercesNodeImpl.cpp:351:10: warning: case value not in enumerated type 'NodeType' [-Wswitch]
-
src/xerces/XercesNodeImpl.cpp:374:8: warning: comparison of different enumeration types in switch statement ('NodeType' and 'xercesc_3_3::DOMXPathNamespace::XPathNodeType') [-Wenum-compare-switch] 363 | switch(fNode->getNodeType()) | ~~~~~~~~~~~~~~~~~~~~ 364 | { 365 | case DOMNode::ELEMENT_NODE: 366 | return context->getItemFactory()->createQName(fNode->getNamespaceURI(), fNode->getPrefix(), Axis::getLocalName(fNode), context); 367 | 368 | case DOMNode::ATTRIBUTE_NODE: 369 | return context->getItemFactory()->createQName(fNode->getNamespaceURI(), fNode->getPrefix(), Axis::getLocalName(fNode), context); 370 | 371 | case DOMNode::PROCESSING_INSTRUCTION_NODE: 372 | return context->getItemFactory()->createQName(XMLUni::fgZeroLenString, XMLUni::fgZeroLenString, fNode->getNodeName(), context); 373 | 374 | case DOMXPathNamespace::XPATH_NAMESPACE_NODE: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/xerces/XercesNodeImpl.cpp:374:8: warning: case value not in enumerated type 'NodeType' [-Wswitch]
-
src/xerces/XercesNodeImpl.cpp:530:8: warning: comparison of different enumeration types in switch statement ('NodeType' and 'xercesc_3_3::DOMXPathNamespace::XPathNodeType') [-Wenum-compare-switch] 409 | case DOMXPathNamespace::XPATH_NAMESPACE_NODE: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/xerces/XercesNodeImpl.cpp:530:8: warning: case value not in enumerated type 'NodeType' [-Wswitch]
-
src/xerces/XercesNodeImpl.cpp:738:10: warning: comparison of different enumeration types in switch statement ('NodeType' and 'xercesc_3_3::DOMXPathNamespace::XPathNodeType') [-Wenum-compare-switch] 605 | case DOMXPathNamespace::XPATH_NAMESPACE_NODE: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/xerces/XercesNodeImpl.cpp:738:10: warning: case value not in enumerated type 'NodeType' [-Wswitch]
-
src/samples/simple-api/simple-basic.cpp:20:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 20 | while(item = result->next(context)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -
tests/xmark/xmark.cpp:79:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 79 | sprintf(szDate,"%04d-%02d-%02dT%02d:%02d:%02dZ", | ^ -
tests/xmark/xmark.cpp:88:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 88 | sprintf(szDate,"%04d%02d%02d%02d%02d%02d", | ^ -
src/samples/simple-api/simple-context-item.cpp:29:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 29 | while(item = result->next(context)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~