Snippets

Matt Brister xmldiff compile output

Created by Matt Brister

File snippet.txt Added

  • Ignore whitespace
  • Hide word diff
+/bin/bash /home/ubuntu/xmldiff-1.1.2/libtool --mode=compile g++  -I. -I/home/ubuntu/xmldiff-1.1.2 -DPHP_ATOM_INC -I/home/ubuntu/xmldiff-1.1.2/include -I/home/ubuntu/xmldiff-1.1.2/main -I/home/ubuntu/xmldiff-1.1.2 -I/usr/include/php/20180731 -I/usr/include/php/20180731/main -I/usr/include/php/20180731/TSRM -I/usr/include/php/20180731/Zend -I/usr/include/php/20180731/ext -I/usr/include/php/20180731/ext/date/lib -I/usr/include/libxml2 -I/home/ubuntu/xmldiff-1.1.2/diffmark/lib -I/home/ubuntu/xmldiff-1.1.2/simplexml_compat  -DHAVE_CONFIG_H  -g -O2   -c /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp -o xmldiff.lo 
+libtool: compile:  g++ -I. -I/home/ubuntu/xmldiff-1.1.2 -DPHP_ATOM_INC -I/home/ubuntu/xmldiff-1.1.2/include -I/home/ubuntu/xmldiff-1.1.2/main -I/home/ubuntu/xmldiff-1.1.2 -I/usr/include/php/20180731 -I/usr/include/php/20180731/main -I/usr/include/php/20180731/TSRM -I/usr/include/php/20180731/Zend -I/usr/include/php/20180731/ext -I/usr/include/php/20180731/ext/date/lib -I/usr/include/libxml2 -I/home/ubuntu/xmldiff-1.1.2/diffmark/lib -I/home/ubuntu/xmldiff-1.1.2/simplexml_compat -DHAVE_CONFIG_H -g -O2 -c /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp  -fPIC -DPIC -o .libs/xmldiff.o
+In file included from /usr/include/c++/7/bits/stl_algobase.h:63:0,
+                 from /usr/include/c++/7/memory:62,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/ext/numeric_traits.h:54:3: error: template with C linkage
+   template<typename _Value>
+   ^~~~~~~~
+/usr/include/c++/7/ext/numeric_traits.h:67:3: error: template with C linkage
+   template<typename _Value>
+   ^~~~~~~~
+/usr/include/c++/7/ext/numeric_traits.h:70:3: error: template with C linkage
+   template<typename _Value>
+   ^~~~~~~~
+/usr/include/c++/7/ext/numeric_traits.h:73:3: error: template with C linkage
+   template<typename _Value>
+   ^~~~~~~~
+/usr/include/c++/7/ext/numeric_traits.h:76:3: error: template with C linkage
+   template<typename _Value>
+   ^~~~~~~~
+/usr/include/c++/7/ext/numeric_traits.h:99:3: error: template with C linkage
+   template<typename _Value>
+   ^~~~~~~~
+/usr/include/c++/7/ext/numeric_traits.h:111:3: error: template with C linkage
+   template<typename _Value>
+   ^~~~~~~~
+/usr/include/c++/7/ext/numeric_traits.h:114:3: error: template with C linkage
+   template<typename _Value>
+   ^~~~~~~~
+/usr/include/c++/7/ext/numeric_traits.h:117:3: error: template with C linkage
+   template<typename _Value>
+   ^~~~~~~~
+/usr/include/c++/7/ext/numeric_traits.h:120:3: error: template with C linkage
+   template<typename _Value>
+   ^~~~~~~~
+/usr/include/c++/7/ext/numeric_traits.h:123:3: error: template with C linkage
+   template<typename _Value>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/stl_pair.h:59:0,
+                 from /usr/include/c++/7/bits/stl_algobase.h:64,
+                 from /usr/include/c++/7/memory:62,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/move.h:45:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/move.h:54:0,
+                 from /usr/include/c++/7/bits/stl_pair.h:59,
+                 from /usr/include/c++/7/bits/stl_algobase.h:64,
+                 from /usr/include/c++/7/memory:62,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/type_traits:68:3: error: template with C linkage
+   template<typename _Tp, _Tp __v>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:83:3: error: template with C linkage
+   template<typename _Tp, _Tp __v>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:92:3: error: template with C linkage
+   template<bool __v>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:103:3: error: template with C linkage
+   template<bool, typename, typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:106:3: error: template with C linkage
+   template<typename...>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:109:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:114:3: error: template with C linkage
+   template<typename _B1>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:119:3: error: template with C linkage
+   template<typename _B1, typename _B2>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:124:3: error: template with C linkage
+   template<typename _B1, typename _B2, typename _B3, typename... _Bn>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:129:3: error: template with C linkage
+   template<typename...>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:132:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:137:3: error: template with C linkage
+   template<typename _B1>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:142:3: error: template with C linkage
+   template<typename _B1, typename _B2>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:147:3: error: template with C linkage
+   template<typename _B1, typename _B2, typename _B3, typename... _Bn>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:152:3: error: template with C linkage
+   template<typename _Pp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:192:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:201:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:204:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:208:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:213:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:218:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:222:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:226:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:230:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:234:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:239:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:244:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:248:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:252:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:256:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:260:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:264:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:268:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:272:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:276:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:280:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:287:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:291:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:324:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:329:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:333:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:337:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:341:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:346:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:352:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:358:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:362:3: error: template with C linkage
+   template<typename _Tp, std::size_t _Size>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:366:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:370:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:374:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:379:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:385:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:389:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:394:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:398:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:402:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:405:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:409:3: error: template with C linkage
+   template<typename _Tp, typename _Cp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:414:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:420:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:424:3: error: template with C linkage
+   template<typename _Tp, typename _Cp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:429:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:436:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:442:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:448:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:454:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:458:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:462:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:466:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:470:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:474:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:478:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:482:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:486:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:490:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:494:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:498:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:502:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:506:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:510:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:514:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:518:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:522:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:526:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:530:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:534:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:538:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:542:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:546:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:550:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:556:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:560:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:565:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:571:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:579:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:586:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:592:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:599:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:605:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:609:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:616:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:620:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:624:3: error: template with C linkage
+   template<typename _Tp, typename _Cp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:629:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:636:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:641:3: error: template with C linkage
+   template<typename _Res, typename... _Args _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:646:3: error: template with C linkage
+   template<typename _Res, typename... _Args _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:654:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:658:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:663:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:667:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:672:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:678:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:684:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:691:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:697:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:703:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:709:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:717:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:724:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:729:3: error: template with C linkage
+   template<typename _Tp,
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:734:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:740:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:746:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:754:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:761:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:764:3: error: template with C linkage
+   template<typename, unsigned = 0>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:767:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:770:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:775:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:787:5: error: template with C linkage
+     template<typename _Tp, typename = decltype(declval<_Tp&>().~_Tp())>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:790:5: error: template with C linkage
+     template<typename>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:794:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:801:3: error: template with C linkage
+   template<typename _Tp,
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:808:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:814:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:818:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:823:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:834:5: error: template with C linkage
+     template<typename _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:838:5: error: template with C linkage
+     template<typename>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:842:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:849:3: error: template with C linkage
+   template<typename _Tp,
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:856:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:862:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:866:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:871:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:878:5: error: template with C linkage
+     template<typename _Tp, typename = decltype(_Tp())>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:881:5: error: template with C linkage
+     template<typename>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:885:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:892:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:898:3: error: template with C linkage
+   template<typename _Tp, bool = is_array<_Tp>::value>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:906:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:913:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:919:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:938:5: error: template with C linkage
+     template<typename _From, typename _To, typename
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:942:5: error: template with C linkage
+     template<typename, typename>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:946:3: error: template with C linkage
+   template<typename _From, typename _To>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:953:3: error: template with C linkage
+   template<typename _From, typename _To>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:959:3: error: template with C linkage
+   template<typename _From, typename _To>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:972:5: error: template with C linkage
+     template<typename _Tp, typename _Arg, typename
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:976:5: error: template with C linkage
+     template<typename, typename>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:980:3: error: template with C linkage
+   template<typename _Tp, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:987:3: error: template with C linkage
+   template<typename _Tp, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:993:3: error: template with C linkage
+   template<typename, typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:996:3: error: template with C linkage
+   template<typename, typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:999:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1002:3: error: template with C linkage
+   template<typename _From, typename _To, bool
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1007:3: error: template with C linkage
+   template<typename _Tp, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1012:3: error: template with C linkage
+   template<typename _From, typename _To>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1025:3: error: template with C linkage
+   template<typename _From, typename _To>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1030:3: error: template with C linkage
+   template<typename _From, typename _To, bool
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1037:3: error: template with C linkage
+   template<typename _From, typename _To>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1050:3: error: template with C linkage
+   template<typename _From, typename _To>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1061:3: error: template with C linkage
+   template<typename _Tp, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1069:3: error: template with C linkage
+   template<typename _Tp, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1077:3: error: template with C linkage
+   template<typename _Tp, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1089:5: error: template with C linkage
+     template<typename _Tp, typename... _Args, typename
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:1093:5: error: template with C linkage
+     template<typename, typename...>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:1097:3: error: template with C linkage
+   template<typename _Tp, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1104:3: error: template with C linkage
+   template<typename _Tp, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1112:3: error: template with C linkage
+   template<typename _Tp, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1117:3: error: template with C linkage
+   template<typename _Tp, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1122:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1128:3: error: template with C linkage
+   template<typename _Tp, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1133:3: error: template with C linkage
+   template<typename _Tp, bool = __is_referenceable<_Tp>::value>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1136:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1140:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1146:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1151:3: error: template with C linkage
+   template<typename _Tp, bool = __is_referenceable<_Tp>::value>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1154:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1158:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1164:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1169:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1174:3: error: template with C linkage
+   template<typename _Tp, bool = is_array<_Tp>::value>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1177:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1184:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1190:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1196:3: error: template with C linkage
+   template<typename _Tp, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1201:3: error: template with C linkage
+   template<typename _Tp, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1207:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1213:3: error: template with C linkage
+   template<typename _Tp, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1219:3: error: template with C linkage
+   template<typename _Tp, bool = __is_referenceable<_Tp>::value>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1222:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1226:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1232:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1237:3: error: template with C linkage
+   template<typename _Tp, bool = __is_referenceable<_Tp>::value>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1240:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1244:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1250:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1255:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1272:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1277:3: error: template with C linkage
+   template<typename _Tp, bool = __is_referenceable<_Tp>::value>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1280:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1284:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1290:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1295:3: error: template with C linkage
+   template<typename _Tp, bool = __is_referenceable<_Tp>::value>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1298:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1302:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1308:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1313:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1319:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1325:3: error: template with C linkage
+   template<typename _Tp, bool = __is_referenceable<_Tp>::value>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1328:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1332:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1338:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1343:3: error: template with C linkage
+   template<typename _Tp, bool = __is_referenceable<_Tp>::value>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1346:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1350:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1356:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1362:3: error: template with C linkage
+   template<typename _Tp, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1369:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1376:5: error: template with C linkage
+     template <typename _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:1379:5: error: template with C linkage
+     template <typename _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:1386:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1393:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1398:3: error: template with C linkage
+   template <typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1405:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1413:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1421:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1429:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1437:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1445:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1453:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1462:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1467:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1471:3: error: template with C linkage
+   template<typename _Tp, std::size_t _Size>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1475:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1480:3: error: template with C linkage
+   template<typename, unsigned _Uint>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1484:3: error: template with C linkage
+   template<typename _Tp, unsigned _Uint, std::size_t _Size>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1491:3: error: template with C linkage
+   template<typename _Tp, unsigned _Uint>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1502:3: error: template with C linkage
+   template<typename, typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1506:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1511:3: error: template with C linkage
+   template<typename _Base, typename _Derived>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1516:3: error: template with C linkage
+   template<typename _From, typename _To,
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1522:3: error: template with C linkage
+   template<typename _From, typename _To>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1543:3: error: template with C linkage
+   template<typename _From, typename _To>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1552:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1556:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1561:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1565:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1570:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1578:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1583:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1588:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1600:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1604:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1608:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1612:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1616:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1620:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1627:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1631:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1635:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1639:3: error: template with C linkage
+   template<typename _Tp, bool = __is_referenceable<_Tp>::value>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1643:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1648:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1653:3: error: template with C linkage
+   template<typename _Tp, bool = __is_referenceable<_Tp>::value>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1657:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1662:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1669:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1673:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1677:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1684:3: error: template with C linkage
+   template<typename _Unqualified, bool _IsConst, bool _IsVol>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1687:3: error: template with C linkage
+   template<typename _Unqualified>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1691:3: error: template with C linkage
+   template<typename _Unqualified>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1695:3: error: template with C linkage
+   template<typename _Unqualified>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1699:3: error: template with C linkage
+   template<typename _Unqualified>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1703:3: error: template with C linkage
+   template<typename _Qualified, typename _Unqualified,
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1715:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1719:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1723:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1727:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1731:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1735:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1739:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1744:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1750:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1771:3: error: template with C linkage
+   template<typename _Tp,
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1776:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1787:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1815:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1820:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1825:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1829:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1833:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1837:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1841:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1845:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1849:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1860:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1863:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1869:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1890:3: error: template with C linkage
+   template<typename _Tp,
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1895:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1906:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1919:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1924:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1929:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1933:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1940:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1944:3: error: template with C linkage
+   template<typename _Tp, std::size_t _Size>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1948:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1953:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1957:3: error: template with C linkage
+   template<typename _Tp, std::size_t _Size>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1961:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1967:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1971:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1977:3: error: template with C linkage
+   template<typename _Tp, typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1981:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1986:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1992:3: error: template with C linkage
+   template<typename _Tp, bool = __or_<__is_referenceable<_Tp>,
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:1997:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2001:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2008:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2012:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2016:3: error: template with C linkage
+   template<std::size_t _Len>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2036:3: error: template with C linkage
+   template<std::size_t _Len, std::size_t _Align =
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2047:3: error: template with C linkage
+   template <typename... _Types>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2054:3: error: template with C linkage
+   template <typename _Tp, typename... _Types>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2075:3: error: template with C linkage
+   template <size_t _Len, typename... _Types>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2091:3: error: template with C linkage
+   template <size_t _Len, typename... _Types>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2096:3: error: template with C linkage
+   template<typename _Up,
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2102:3: error: template with C linkage
+   template<typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2106:3: error: template with C linkage
+   template<typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2110:3: error: template with C linkage
+   template<typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2115:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2124:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2128:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2134:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2140:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2150:3: error: template with C linkage
+   template<bool, typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2155:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2159:3: error: template with C linkage
+   template<typename... _Cond>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2164:3: error: template with C linkage
+   template<bool _Cond, typename _Iftrue, typename _Iffalse>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2169:3: error: template with C linkage
+   template<typename _Iftrue, typename _Iffalse>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2174:3: error: template with C linkage
+   template<typename... _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2181:5: error: template with C linkage
+     template<typename _Tp, typename _Up>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:2186:5: error: template with C linkage
+     template<typename, typename>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:2190:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2199:5: error: template with C linkage
+     template<typename _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:2202:5: error: template with C linkage
+     template<typename>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:2206:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2213:3: error: template with C linkage
+   template<typename _CTp, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2219:3: error: template with C linkage
+   template<typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2223:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2227:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2232:3: error: template with C linkage
+   template<typename _Tp, typename _Up, typename... _Vp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2239:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2245:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2252:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2262:3: error: template with C linkage
+   template<typename _Signature>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2276:3: error: template with C linkage
+   template<typename _Tp, typename _Tag>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2283:5: error: template with C linkage
+     template<typename _Fp, typename _Tp1, typename... _Args>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:2288:5: error: template with C linkage
+     template<typename...>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:2292:3: error: template with C linkage
+   template<typename _MemPtr, typename _Arg, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2302:5: error: template with C linkage
+     template<typename _Fp, typename _Tp1, typename... _Args>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:2307:5: error: template with C linkage
+     template<typename...>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:2311:3: error: template with C linkage
+   template<typename _MemPtr, typename _Arg, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2321:5: error: template with C linkage
+     template<typename _Fp, typename _Tp1>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:2326:5: error: template with C linkage
+     template<typename, typename>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:2330:3: error: template with C linkage
+   template<typename _MemPtr, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2340:5: error: template with C linkage
+     template<typename _Fp, typename _Tp1>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:2345:5: error: template with C linkage
+     template<typename, typename>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:2349:3: error: template with C linkage
+   template<typename _MemPtr, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2356:3: error: template with C linkage
+   template<typename _MemPtr, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2359:3: error: template with C linkage
+   template<typename _Res, typename _Class, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2372:3: error: template with C linkage
+   template<typename _MemPtr, typename _Arg, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2375:3: error: template with C linkage
+   template<typename _Res, typename _Class, typename _Arg, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2393:3: error: template with C linkage
+   template<typename _Tp, typename _Up = typename decay<_Tp>::type>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2399:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2405:3: error: template with C linkage
+   template<bool, bool, typename _Functor, typename... _ArgTypes>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2411:3: error: template with C linkage
+   template<typename _MemPtr, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2417:3: error: template with C linkage
+   template<typename _MemPtr, typename _Arg, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2426:5: error: template with C linkage
+     template<typename _Fn, typename... _Args>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:2431:5: error: template with C linkage
+     template<typename...>
+     ^~~~~~~~
+/usr/include/c++/7/type_traits:2435:3: error: template with C linkage
+   template<typename _Functor, typename... _ArgTypes>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2443:3: error: template with C linkage
+   template<typename _Functor, typename... _ArgTypes>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2456:3: error: template with C linkage
+   template<typename _Functor, typename... _ArgTypes>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2463:3: error: template with C linkage
+   template<size_t _Len, size_t _Align =
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2467:3: error: template with C linkage
+   template <size_t _Len, typename... _Types>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2471:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2475:3: error: template with C linkage
+   template<bool _Cond, typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2479:3: error: template with C linkage
+   template<bool _Cond, typename _Iftrue, typename _Iffalse>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2483:3: error: template with C linkage
+   template<typename... _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2487:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2491:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2496:3: error: template with C linkage
+   template<bool _Cond, typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2500:3: error: template with C linkage
+   template<typename...> using __void_t = void;
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2505:3: error: template with C linkage
+   template<typename...> using void_t = void;
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2509:3: error: template with C linkage
+   template<typename _Default, typename _AlwaysVoid,
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2518:3: error: template with C linkage
+   template<typename _Default, template<typename...> class _Op,
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2527:3: error: template with C linkage
+   template<typename _Default, template<typename...> class _Op,
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2532:3: error: template with C linkage
+   template<typename _Default, template<typename...> class _Op,
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2553:3: error: template with C linkage
+   template <typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2556:3: error: template with C linkage
+   template <typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2559:3: error: template with C linkage
+   template<typename... _Elements>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2562:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2566:3: error: template with C linkage
+   template<typename... _Tps>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2571:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2577:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2586:3: error: template with C linkage
+   template<typename _Tp, size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2597:7: error: template with C linkage
+       template<typename _Tp, typename
+       ^~~~~~~~
+/usr/include/c++/7/type_traits:2601:7: error: template with C linkage
+       template<typename>
+       ^~~~~~~~
+/usr/include/c++/7/type_traits:2607:7: error: template with C linkage
+       template<typename _Tp>
+       ^~~~~~~~
+/usr/include/c++/7/type_traits:2612:7: error: template with C linkage
+       template<typename>
+       ^~~~~~~~
+/usr/include/c++/7/type_traits:2618:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2625:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2632:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2637:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2647:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2653:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2660:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2665:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2675:7: error: template with C linkage
+       template<typename _Tp, typename _Up, typename
+       ^~~~~~~~
+/usr/include/c++/7/type_traits:2681:7: error: template with C linkage
+       template<typename, typename>
+       ^~~~~~~~
+/usr/include/c++/7/type_traits:2687:7: error: template with C linkage
+       template<typename _Tp, typename _Up>
+       ^~~~~~~~
+/usr/include/c++/7/type_traits:2694:7: error: template with C linkage
+       template<typename, typename>
+       ^~~~~~~~
+/usr/include/c++/7/type_traits:2700:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2708:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2715:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2723:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2731:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2737:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2744:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2749:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2758:3: error: template with C linkage
+   template<typename _Result, typename _Ret, typename = void>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2761:3: error: template with C linkage
+   template<typename _Result, typename _Ret>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2766:3: error: template with C linkage
+   template<typename _Fn, typename... _ArgTypes>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2771:3: error: template with C linkage
+   template<typename _Fn, typename _Tp, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2779:3: error: template with C linkage
+   template<typename _Fn, typename _Tp, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2786:3: error: template with C linkage
+   template<typename _Fn, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2793:3: error: template with C linkage
+   template<typename _Fn, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2799:3: error: template with C linkage
+   template<typename _Fn, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2805:3: error: template with C linkage
+   template<typename _Result, typename _Fn, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2812:3: error: template with C linkage
+   template<typename _Fn, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/type_traits:2817:3: error: template with C linkage
+   template<typename _Fn, typename... _Args>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/stl_pair.h:59:0,
+                 from /usr/include/c++/7/bits/stl_algobase.h:64,
+                 from /usr/include/c++/7/memory:62,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/move.h:71:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/move.h:82:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/move.h:96:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/move.h:102:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/move.h:115:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/move.h:135:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/move.h:142:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/move.h:146:3: error: template with C linkage
+   template <typename _Tp, typename _Up = _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/move.h:181:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/move.h:206:3: error: template with C linkage
+   template<typename _Tp, size_t _Nm>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
+                 from /usr/include/c++/7/memory:62,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/stl_pair.h:83:3: error: template with C linkage
+   template<typename...>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_pair.h:86:3: error: template with C linkage
+   template<std::size_t...>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_pair.h:94:3: error: template with C linkage
+   template <bool, typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_pair.h:154:3: error: template with C linkage
+   template <typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_pair.h:190:3: error: template with C linkage
+   template<typename _U1, typename _U2> class __pair_base
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_pair.h:207:3: error: template with C linkage
+   template<typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_pair.h:446:3: error: template with C linkage
+   template<typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_pair.h:452:3: error: template with C linkage
+   template<typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_pair.h:459:3: error: template with C linkage
+   template<typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_pair.h:465:3: error: template with C linkage
+   template<typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_pair.h:471:3: error: template with C linkage
+   template<typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_pair.h:477:3: error: template with C linkage
+   template<typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_pair.h:486:3: error: template with C linkage
+   template<typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_pair.h:500:3: error: template with C linkage
+   template<typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_pair.h:521:3: error: template with C linkage
+   template<typename _T1, typename _T2>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/stl_algobase.h:65:0,
+                 from /usr/include/c++/7/memory:62,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/stl_iterator_base_types.h:116:3: error: template with C linkage
+   template<typename _Category, typename _Tp, typename _Distance = ptrdiff_t,
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_types.h:143:3: error: template with C linkage
+   template<typename _Iterator, typename = __void_t<>>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_types.h:146:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_types.h:161:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_types.h:177:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_types.h:188:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_types.h:202:3: error: template with C linkage
+   template<typename _Iter>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_types.h:231:3: error: template with C linkage
+   template<typename _InIter>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/stl_algobase.h:66:0,
+                 from /usr/include/c++/7/memory:62,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/stl_iterator_base_funcs.h:71:3: error: template with C linkage
+   template <typename> struct _List_iterator;
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_funcs.h:72:3: error: template with C linkage
+   template <typename> struct _List_const_iterator;
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_funcs.h:77:3: error: template with C linkage
+   template<typename _InputIterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_funcs.h:95:3: error: template with C linkage
+   template<typename _RandomAccessIterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_funcs.h:109:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_funcs.h:115:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_funcs.h:135:3: error: template with C linkage
+   template<typename _InputIterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_funcs.h:145:3: error: template with C linkage
+   template<typename _InputIterator, typename _Distance>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_funcs.h:156:3: error: template with C linkage
+   template<typename _BidirectionalIterator, typename _Distance>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_funcs.h:172:3: error: template with C linkage
+   template<typename _RandomAccessIterator, typename _Distance>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_funcs.h:195:3: error: template with C linkage
+   template<typename _InputIterator, typename _Distance>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_funcs.h:206:3: error: template with C linkage
+   template<typename _ForwardIterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator_base_funcs.h:218:3: error: template with C linkage
+   template<typename _BidirectionalIterator>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/stl_iterator.h:66:0,
+                 from /usr/include/c++/7/bits/stl_algobase.h:67,
+                 from /usr/include/c++/7/memory:62,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/ptr_traits.h:44:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/ptr_traits.h:48:3: error: template with C linkage
+   template<template<typename, typename...> class _Template, typename _Tp,
+   ^~~~~~~~
+/usr/include/c++/7/bits/ptr_traits.h:53:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/ptr_traits.h:57:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/bits/ptr_traits.h:61:3: error: template with C linkage
+   template<template<typename, typename...> class _Template, typename _Up,
+   ^~~~~~~~
+/usr/include/c++/7/bits/ptr_traits.h:66:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/bits/ptr_traits.h:69:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/ptr_traits.h:77:3: error: template with C linkage
+   template<typename _Ptr>
+   ^~~~~~~~
+/usr/include/c++/7/bits/ptr_traits.h:122:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/ptr_traits.h:146:3: error: template with C linkage
+   template<typename _Ptr, typename _Tp>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
+                 from /usr/include/c++/7/memory:62,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/stl_iterator.h:100:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:300:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:306:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:312:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:318:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:324:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:330:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:338:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:344:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:350:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:356:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:362:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:368:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:390:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:398:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:406:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:417:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:425:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:431:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:436:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:454:3: error: template with C linkage
+   template<typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:531:3: error: template with C linkage
+   template<typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:546:3: error: template with C linkage
+   template<typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:622:3: error: template with C linkage
+   template<typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:641:3: error: template with C linkage
+   template<typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:736:3: error: template with C linkage
+   template<typename _Container, typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:762:3: error: template with C linkage
+   template<typename _Iterator, typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:860:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR, typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:867:3: error: template with C linkage
+   template<typename _Iterator, typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:874:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR, typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:881:3: error: template with C linkage
+   template<typename _Iterator, typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:889:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR, typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:896:3: error: template with C linkage
+   template<typename _Iterator, typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:903:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR, typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:910:3: error: template with C linkage
+   template<typename _Iterator, typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:917:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR, typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:924:3: error: template with C linkage
+   template<typename _Iterator, typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:931:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR, typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:938:3: error: template with C linkage
+   template<typename _Iterator, typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:949:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR, typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:963:3: error: template with C linkage
+   template<typename _Iterator, typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:970:3: error: template with C linkage
+   template<typename _Iterator, typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:984:3: error: template with C linkage
+   template<typename _Iterator, typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1012:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1119:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1125:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1131:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1137:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1143:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1149:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1155:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1161:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1167:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1173:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1179:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1185:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1192:3: error: template with C linkage
+   template<typename _IteratorL, typename _IteratorR>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1199:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1205:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1210:3: error: template with C linkage
+   template<typename _Iterator, typename _ReturnType
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1220:3: error: template with C linkage
+   template<typename _Tp, typename _ReturnType
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1229:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1235:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_iterator.h:1242:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/stl_algobase.h:71:0,
+                 from /usr/include/c++/7/memory:62,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/predefined_ops.h:39:5: error: template with C linkage
+     template<typename _Iterator1, typename _Iterator2>
+     ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:62:5: error: template with C linkage
+     template<typename _Iterator, typename _Value>
+     ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:87:5: error: template with C linkage
+     template<typename _Value, typename _Iterator>
+     ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:103:5: error: template with C linkage
+     template<typename _Iterator1, typename _Iterator2>
+     ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:115:5: error: template with C linkage
+     template<typename _Iterator, typename _Value>
+     ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h: In function ‘__gnu_cxx::__ops::_Iter_equal_to_val __gnu_cxx::__ops::__iter_comp_val(__gnu_cxx::__ops::_Iter_equal_to_iter)’:
+/usr/include/c++/7/bits/predefined_ops.h:126:3: error: conflicting declaration of C function ‘__gnu_cxx::__ops::_Iter_equal_to_val __gnu_cxx::__ops::__iter_comp_val(__gnu_cxx::__ops::_Iter_equal_to_iter)’
+   __iter_comp_val(_Iter_equal_to_iter)
+   ^~~~~~~~~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:73:3: note: previous declaration ‘__gnu_cxx::__ops::_Iter_less_val __gnu_cxx::__ops::__iter_comp_val(__gnu_cxx::__ops::_Iter_less_iter)’
+   __iter_comp_val(_Iter_less_iter)
+   ^~~~~~~~~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h: At global scope:
+/usr/include/c++/7/bits/predefined_ops.h:129:3: error: template with C linkage
+   template<typename _Compare>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:146:3: error: template with C linkage
+   template<typename _Compare>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:152:3: error: template with C linkage
+   template<typename _Compare>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:180:3: error: template with C linkage
+   template<typename _Compare>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:185:3: error: template with C linkage
+   template<typename _Compare>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:190:3: error: template with C linkage
+   template<typename _Compare>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:218:3: error: template with C linkage
+   template<typename _Compare>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:223:3: error: template with C linkage
+   template<typename _Compare>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:228:3: error: template with C linkage
+   template<typename _Value>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:244:3: error: template with C linkage
+   template<typename _Value>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:249:3: error: template with C linkage
+   template<typename _Iterator1>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:265:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:270:3: error: template with C linkage
+   template<typename _Predicate>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:286:3: error: template with C linkage
+   template<typename _Predicate>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:291:3: error: template with C linkage
+   template<typename _Compare, typename _Value>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:307:3: error: template with C linkage
+   template<typename _Compare, typename _Value>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:314:3: error: template with C linkage
+   template<typename _Compare, typename _Iterator1>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:330:3: error: template with C linkage
+   template<typename _Compare, typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:338:3: error: template with C linkage
+   template<typename _Predicate>
+   ^~~~~~~~
+/usr/include/c++/7/bits/predefined_ops.h:354:3: error: template with C linkage
+   template<typename _Predicate>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/memory:62:0,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/stl_algobase.h:118:3: error: template with C linkage
+   template<typename _ForwardIterator1, typename _ForwardIterator2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:164:3: error: template with C linkage
+   template<typename _ForwardIterator1, typename _ForwardIterator2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:192:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:216:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:240:3: error: template with C linkage
+   template<typename _Tp, typename _Compare>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:262:3: error: template with C linkage
+   template<typename _Tp, typename _Compare>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:275:3: error: template with C linkage
+   template<typename _Iterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:286:3: error: template with C linkage
+   template<bool, bool, typename>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:300:3: error: template with C linkage
+   template<typename _Category>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:314:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:333:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:352:3: error: template with C linkage
+   template<bool _IsMove>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:373:3: error: template with C linkage
+   template<bool _IsMove, typename _II, typename _OI>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:391:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:394:3: error: template with C linkage
+   template<typename _CharT, typename _Traits>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:397:3: error: template with C linkage
+   template<typename _CharT, typename _Traits>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:400:3: error: template with C linkage
+   template<bool _IsMove, typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:406:3: error: template with C linkage
+   template<bool _IsMove, typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:412:3: error: template with C linkage
+   template<bool _IsMove, typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:418:3: error: template with C linkage
+   template<bool _IsMove, typename _II, typename _OI>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:444:3: error: template with C linkage
+   template<typename _II, typename _OI>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:477:3: error: template with C linkage
+   template<typename _II, typename _OI>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:496:3: error: template with C linkage
+   template<bool, bool, typename>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:510:3: error: template with C linkage
+   template<typename _Category>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:524:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:539:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:554:3: error: template with C linkage
+   template<bool _IsMove>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:575:3: error: template with C linkage
+   template<bool _IsMove, typename _BI1, typename _BI2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:593:3: error: template with C linkage
+   template<bool _IsMove, typename _BI1, typename _BI2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:620:3: error: template with C linkage
+   template<typename _BI1, typename _BI2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:656:3: error: template with C linkage
+   template<typename _BI1, typename _BI2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:678:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:688:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:700:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:722:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:735:3: error: template with C linkage
+   template<typename _OutputIterator, typename _Size, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:746:3: error: template with C linkage
+   template<typename _OutputIterator, typename _Size, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:758:3: error: template with C linkage
+   template<typename _Size, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:782:3: error: template with C linkage
+   template<typename _OI, typename _Size, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:792:3: error: template with C linkage
+   template<bool _BoolType>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:806:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:819:3: error: template with C linkage
+   template<typename _II1, typename _II2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:834:3: error: template with C linkage
+   template<typename, typename>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:848:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:869:3: error: template with C linkage
+   template<typename _II1, typename _II2, typename _Compare>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:891:3: error: template with C linkage
+   template<bool _BoolType>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:898:3: error: template with C linkage
+   template<bool _BoolType>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:909:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:926:3: error: template with C linkage
+   template<typename _II1, typename _II2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:944:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Tp, typename _Compare>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:982:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h: In function ‘constexpr unsigned int std::__lg(unsigned int)’:
+/usr/include/c++/7/bits/stl_algobase.h:1004:3: error: conflicting declaration of C function ‘constexpr unsigned int std::__lg(unsigned int)’
+   __lg(unsigned __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1000:3: note: previous declaration ‘constexpr int std::__lg(int)’
+   __lg(int __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h: In function ‘constexpr long int std::__lg(long int)’:
+/usr/include/c++/7/bits/stl_algobase.h:1008:3: error: conflicting declaration of C function ‘constexpr long int std::__lg(long int)’
+   __lg(long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1004:3: note: previous declaration ‘constexpr unsigned int std::__lg(unsigned int)’
+   __lg(unsigned __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1008:3: error: conflicting declaration of C function ‘constexpr long int std::__lg(long int)’
+   __lg(long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1000:3: note: previous declaration ‘constexpr int std::__lg(int)’
+   __lg(int __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h: In function ‘constexpr long unsigned int std::__lg(long unsigned int)’:
+/usr/include/c++/7/bits/stl_algobase.h:1012:3: error: conflicting declaration of C function ‘constexpr long unsigned int std::__lg(long unsigned int)’
+   __lg(unsigned long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1008:3: note: previous declaration ‘constexpr long int std::__lg(long int)’
+   __lg(long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1012:3: error: conflicting declaration of C function ‘constexpr long unsigned int std::__lg(long unsigned int)’
+   __lg(unsigned long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1004:3: note: previous declaration ‘constexpr unsigned int std::__lg(unsigned int)’
+   __lg(unsigned __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1012:3: error: conflicting declaration of C function ‘constexpr long unsigned int std::__lg(long unsigned int)’
+   __lg(unsigned long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1000:3: note: previous declaration ‘constexpr int std::__lg(int)’
+   __lg(int __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h: In function ‘constexpr long long int std::__lg(long long int)’:
+/usr/include/c++/7/bits/stl_algobase.h:1016:3: error: conflicting declaration of C function ‘constexpr long long int std::__lg(long long int)’
+   __lg(long long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1012:3: note: previous declaration ‘constexpr long unsigned int std::__lg(long unsigned int)’
+   __lg(unsigned long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1016:3: error: conflicting declaration of C function ‘constexpr long long int std::__lg(long long int)’
+   __lg(long long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1008:3: note: previous declaration ‘constexpr long int std::__lg(long int)’
+   __lg(long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1016:3: error: conflicting declaration of C function ‘constexpr long long int std::__lg(long long int)’
+   __lg(long long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1004:3: note: previous declaration ‘constexpr unsigned int std::__lg(unsigned int)’
+   __lg(unsigned __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1016:3: error: conflicting declaration of C function ‘constexpr long long int std::__lg(long long int)’
+   __lg(long long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1000:3: note: previous declaration ‘constexpr int std::__lg(int)’
+   __lg(int __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h: In function ‘constexpr long long unsigned int std::__lg(long long unsigned int)’:
+/usr/include/c++/7/bits/stl_algobase.h:1020:3: error: conflicting declaration of C function ‘constexpr long long unsigned int std::__lg(long long unsigned int)’
+   __lg(unsigned long long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1016:3: note: previous declaration ‘constexpr long long int std::__lg(long long int)’
+   __lg(long long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1020:3: error: conflicting declaration of C function ‘constexpr long long unsigned int std::__lg(long long unsigned int)’
+   __lg(unsigned long long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1012:3: note: previous declaration ‘constexpr long unsigned int std::__lg(long unsigned int)’
+   __lg(unsigned long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1020:3: error: conflicting declaration of C function ‘constexpr long long unsigned int std::__lg(long long unsigned int)’
+   __lg(unsigned long long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1008:3: note: previous declaration ‘constexpr long int std::__lg(long int)’
+   __lg(long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1020:3: error: conflicting declaration of C function ‘constexpr long long unsigned int std::__lg(long long unsigned int)’
+   __lg(unsigned long long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1004:3: note: previous declaration ‘constexpr unsigned int std::__lg(unsigned int)’
+   __lg(unsigned __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1020:3: error: conflicting declaration of C function ‘constexpr long long unsigned int std::__lg(long long unsigned int)’
+   __lg(unsigned long long __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h:1000:3: note: previous declaration ‘constexpr int std::__lg(int)’
+   __lg(int __n)
+   ^~~~
+/usr/include/c++/7/bits/stl_algobase.h: At global scope:
+/usr/include/c++/7/bits/stl_algobase.h:1039:3: error: template with C linkage
+   template<typename _II1, typename _II2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:1071:3: error: template with C linkage
+   template<typename _IIter1, typename _IIter2, typename _BinaryPredicate>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:1104:3: error: template with C linkage
+   template<typename _II1, typename _II2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:1153:3: error: template with C linkage
+   template<typename _IIter1, typename _IIter2, typename _BinaryPredicate>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:1201:3: error: template with C linkage
+   template<typename _II1, typename _II2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:1237:3: error: template with C linkage
+   template<typename _II1, typename _II2, typename _Compare>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:1253:3: error: template with C linkage
+   template<typename _InputIterator1, typename _InputIterator2,
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:1280:3: error: template with C linkage
+   template<typename _InputIterator1, typename _InputIterator2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:1313:3: error: template with C linkage
+   template<typename _InputIterator1, typename _InputIterator2,
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:1330:3: error: template with C linkage
+   template<typename _InputIterator1, typename _InputIterator2,
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:1360:3: error: template with C linkage
+   template<typename _InputIterator1, typename _InputIterator2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_algobase.h:1395:3: error: template with C linkage
+   template<typename _InputIterator1, typename _InputIterator2,
+   ^~~~~~~~
+In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0,
+                 from /usr/include/c++/7/bits/allocator.h:46,
+                 from /usr/include/c++/7/memory:63,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/ext/new_allocator.h:57:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/ext/new_allocator.h:153:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/ext/new_allocator.h:158:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/allocator.h:46:0,
+                 from /usr/include/c++/7/memory:63,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:47:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/allocator.h:47:0,
+                 from /usr/include/c++/7/memory:63,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/memoryfwd.h:63:3: error: template with C linkage
+   template<typename>
+   ^~~~~~~~
+/usr/include/c++/7/bits/memoryfwd.h:66:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/memoryfwd.h:70:3: error: template with C linkage
+   template<typename, typename>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/memory:63:0,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/allocator.h:67:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/allocator.h:107:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/allocator.h:144:3: error: template with C linkage
+   template<typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/allocator.h:150:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/allocator.h:156:3: error: template with C linkage
+   template<typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/allocator.h:162:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/allocator.h:181:3: error: template with C linkage
+   template<typename _Alloc, bool = __is_empty(_Alloc)>
+   ^~~~~~~~
+/usr/include/c++/7/bits/allocator.h:185:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/allocator.h:198:3: error: template with C linkage
+   template<typename _Alloc, bool = __is_empty(_Alloc)>
+   ^~~~~~~~
+/usr/include/c++/7/bits/allocator.h:206:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/allocator.h:215:3: error: template with C linkage
+   template<typename _Tp, bool
+   ^~~~~~~~
+/usr/include/c++/7/bits/allocator.h:221:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/ext/alloc_traits.h:36:0,
+                 from /usr/include/c++/7/bits/stl_construct.h:61,
+                 from /usr/include/c++/7/memory:64,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/alloc_traits.h:47:5: error: template with C linkage
+     template<typename _Tp, typename _Up, typename = void>
+     ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:50:5: error: template with C linkage
+     template<typename _Tp, typename _Up>
+     ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:56:5: error: template with C linkage
+     template<typename _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:58:5: error: template with C linkage
+     template<typename _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:60:5: error: template with C linkage
+     template<typename _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:62:5: error: template with C linkage
+     template<typename _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:64:5: error: template with C linkage
+     template<typename _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:66:5: error: template with C linkage
+     template<typename _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:68:5: error: template with C linkage
+     template<typename _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:70:5: error: template with C linkage
+     template<typename _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:74:3: error: template with C linkage
+   template<typename _Alloc, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:82:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:383:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:509:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:514:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:519:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:527:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:534:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:538:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:542:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:550:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:557:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:561:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:569:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:590:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/alloc_traits.h:596:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/stl_construct.h:61:0,
+                 from /usr/include/c++/7/memory:64,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/ext/alloc_traits.h:49:1: error: template with C linkage
+ template<typename _Alloc>
+ ^~~~~~~~
+In file included from /usr/include/c++/7/memory:64:0,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/stl_construct.h:72:3: error: template with C linkage
+   template<typename _T1, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_construct.h:87:3: error: template with C linkage
+   template<typename _T1>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_construct.h:95:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_construct.h:100:3: error: template with C linkage
+   template<bool>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_construct.h:112:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_construct.h:125:3: error: template with C linkage
+   template<typename _ForwardIterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_construct.h:140:3: error: template with C linkage
+   template<bool>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_construct.h:153:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_construct.h:170:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Size>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_construct.h:191:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Allocator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_construct.h:201:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Tp>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/memory:65:0,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/stl_uninitialized.h:71:3: error: template with C linkage
+   template<bool _TrivialValueTypes>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:94:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:113:3: error: template with C linkage
+   template<typename _InputIterator, typename _ForwardIterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:138:3: error: template with C linkage
+   template<bool _TrivialValueType>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:160:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:179:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:198:3: error: template with C linkage
+   template<bool _TrivialValueType>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:221:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:242:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Size, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:264:3: error: template with C linkage
+   template<typename _InputIterator, typename _ForwardIterator,
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:285:3: error: template with C linkage
+   template<typename _InputIterator, typename _ForwardIterator, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:291:3: error: template with C linkage
+   template<typename _InputIterator, typename _ForwardIterator,
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:302:3: error: template with C linkage
+   template<typename _InputIterator, typename _ForwardIterator,
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:315:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Tp, typename _Allocator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:334:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Tp, typename _Tp2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:340:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Size, typename _Tp,
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:361:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Size, typename _Tp,
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:378:3: error: template with C linkage
+   template<typename _InputIterator1, typename _InputIterator2,
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:406:3: error: template with C linkage
+   template<typename _InputIterator1, typename _InputIterator2,
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:433:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Tp, typename _InputIterator,
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:455:3: error: template with C linkage
+   template<typename _InputIterator, typename _ForwardIterator, typename _Tp,
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:481:3: error: template with C linkage
+   template<bool _TrivialValueType>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:502:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:516:3: error: template with C linkage
+   template<bool _TrivialValueType>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:538:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:555:3: error: template with C linkage
+   template<typename _ForwardIterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:572:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Size>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:590:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Allocator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:610:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:621:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Size, typename _Allocator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:641:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Size, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:647:3: error: template with C linkage
+   template<bool _TrivialValueType>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:669:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:680:3: error: template with C linkage
+   template<bool _TrivialValueType>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:702:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:714:3: error: template with C linkage
+   template<typename _ForwardIterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:729:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Size>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:741:3: error: template with C linkage
+   template<typename _InputIterator, typename _Size,
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:761:3: error: template with C linkage
+   template<typename _RandomAccessIterator, typename _Size,
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:769:3: error: template with C linkage
+   template<typename _InputIterator, typename _Size,
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:789:3: error: template with C linkage
+   template<typename _RandomAccessIterator, typename _Size,
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:810:3: error: template with C linkage
+   template<typename _InputIterator, typename _Size, typename _ForwardIterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_uninitialized.h:817:3: error: template with C linkage
+   template<typename _InputIterator, typename _Size, typename _ForwardIterator>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/memory:66:0,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/stl_tempbuf.h:83:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_tempbuf.h:110:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_tempbuf.h:121:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_tempbuf.h:180:3: error: template with C linkage
+   template<bool>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_tempbuf.h:211:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_tempbuf.h:229:3: error: template with C linkage
+   template<typename _Pointer, typename _ForwardIterator>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_tempbuf.h:242:3: error: template with C linkage
+   template<typename _ForwardIterator, typename _Tp>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/memory:67:0,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/stl_raw_storage_iter.h:67:3: error: template with C linkage
+   template <class _OutputIterator, class _Tp>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/iosfwd:39:0,
+                 from /usr/include/c++/7/memory:72,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/stringfwd.h:52:3: error: template with C linkage
+   template<class _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stringfwd.h:55:3: error: template specialization with C linkage
+   template<> struct char_traits<char>;
+   ^~~~~~~~
+/usr/include/c++/7/bits/stringfwd.h:58:3: error: template specialization with C linkage
+   template<> struct char_traits<wchar_t>;
+   ^~~~~~~~
+/usr/include/c++/7/bits/stringfwd.h:63:3: error: template specialization with C linkage
+   template<> struct char_traits<char16_t>;
+   ^~~~~~~~
+/usr/include/c++/7/bits/stringfwd.h:64:3: error: template specialization with C linkage
+   template<> struct char_traits<char32_t>;
+   ^~~~~~~~
+/usr/include/c++/7/bits/stringfwd.h:69:3: error: template with C linkage
+   template<typename _CharT, typename _Traits = char_traits<_CharT>,
+   ^~~~~~~~
+In file included from /usr/include/c++/7/iosfwd:40:0,
+                 from /usr/include/c++/7/memory:72,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/postypes.h:111:3: error: template with C linkage
+   template<typename _StateT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/postypes.h:214:3: error: template with C linkage
+   template<typename _StateT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/postypes.h:219:3: error: template with C linkage
+   template<typename _StateT>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/memory:72:0,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/iosfwd:76:3: error: template with C linkage
+   template<typename _CharT, typename _Traits = char_traits<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/iosfwd:79:3: error: template with C linkage
+   template<typename _CharT, typename _Traits = char_traits<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/iosfwd:82:3: error: template with C linkage
+   template<typename _CharT, typename _Traits = char_traits<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/iosfwd:85:3: error: template with C linkage
+   template<typename _CharT, typename _Traits = char_traits<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/iosfwd:88:3: error: template with C linkage
+   template<typename _CharT, typename _Traits = char_traits<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/iosfwd:94:3: error: template with C linkage
+   template<typename _CharT, typename _Traits = char_traits<_CharT>,
+   ^~~~~~~~
+/usr/include/c++/7/iosfwd:98:3: error: template with C linkage
+   template<typename _CharT, typename _Traits = char_traits<_CharT>,
+   ^~~~~~~~
+/usr/include/c++/7/iosfwd:102:3: error: template with C linkage
+   template<typename _CharT, typename _Traits = char_traits<_CharT>,
+   ^~~~~~~~
+/usr/include/c++/7/iosfwd:106:3: error: template with C linkage
+   template<typename _CharT, typename _Traits = char_traits<_CharT>,
+   ^~~~~~~~
+/usr/include/c++/7/iosfwd:112:3: error: template with C linkage
+   template<typename _CharT, typename _Traits = char_traits<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/iosfwd:115:3: error: template with C linkage
+   template<typename _CharT, typename _Traits = char_traits<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/iosfwd:118:3: error: template with C linkage
+   template<typename _CharT, typename _Traits = char_traits<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/iosfwd:121:3: error: template with C linkage
+   template<typename _CharT, typename _Traits = char_traits<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/iosfwd:124:3: error: template with C linkage
+   template<typename _CharT, typename _Traits = char_traits<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/iosfwd:127:3: error: template with C linkage
+   template<typename _CharT, typename _Traits = char_traits<_CharT> >
+   ^~~~~~~~
+In file included from /usr/include/c++/7/memory:76:0,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/stl_function.h:104:3: error: template with C linkage
+   template<typename _Arg, typename _Result>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:117:3: error: template with C linkage
+   template<typename _Arg1, typename _Arg2, typename _Result>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:146:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:149:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:152:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:155:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:158:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:161:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:166:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:176:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:186:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:196:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:206:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:216:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:229:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:244:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:259:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:274:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:289:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:304:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:330:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:333:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:336:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:339:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:342:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:345:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:350:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:360:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:370:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:380:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:390:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:400:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:411:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:426:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:441:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:456:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:471:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:486:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:512:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:515:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:518:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:523:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:533:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:543:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:554:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:569:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:584:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:601:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:604:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:607:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:610:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:616:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:625:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:634:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:643:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:653:3: error: template specialization with C linkage
+   template <>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:667:3: error: template specialization with C linkage
+   template <>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:681:3: error: template specialization with C linkage
+   template <>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:695:3: error: template specialization with C linkage
+   template <>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:740:3: error: template with C linkage
+   template<typename _Predicate>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:759:3: error: template with C linkage
+   template<typename _Predicate>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:766:3: error: template with C linkage
+   template<typename _Predicate>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:787:3: error: template with C linkage
+   template<typename _Predicate>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:817:3: error: template with C linkage
+   template<typename _Arg, typename _Result>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:836:3: error: template with C linkage
+   template<typename _Arg, typename _Result>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:842:3: error: template with C linkage
+   template<typename _Arg1, typename _Arg2, typename _Result>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:862:3: error: template with C linkage
+   template<typename _Arg1, typename _Arg2, typename _Result>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:868:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:881:3: error: template with C linkage
+   template<typename _Pair>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:906:3: error: template with C linkage
+   template<typename _Pair>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:937:3: error: template with C linkage
+   template<typename _Ret, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:955:3: error: template with C linkage
+   template<typename _Ret, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:973:3: error: template with C linkage
+   template<typename _Ret, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:991:3: error: template with C linkage
+   template<typename _Ret, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:1009:3: error: template with C linkage
+   template<typename _Ret, typename _Tp, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:1027:3: error: template with C linkage
+   template<typename _Ret, typename _Tp, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:1045:3: error: template with C linkage
+   template<typename _Ret, typename _Tp, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:1063:3: error: template with C linkage
+   template<typename _Ret, typename _Tp, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:1081:3: error: template with C linkage
+   template<typename _Ret, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:1086:3: error: template with C linkage
+   template<typename _Ret, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:1091:3: error: template with C linkage
+   template<typename _Ret, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:1096:3: error: template with C linkage
+   template<typename _Ret, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:1101:3: error: template with C linkage
+   template<typename _Ret, typename _Tp, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:1106:3: error: template with C linkage
+   template<typename _Ret, typename _Tp, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:1111:3: error: template with C linkage
+   template<typename _Ret, typename _Tp, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/bits/stl_function.h:1116:3: error: template with C linkage
+   template<typename _Ret, typename _Tp, typename _Arg>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/stl_function.h:1127:0,
+                 from /usr/include/c++/7/memory:76,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/backward/binders.h:107:3: error: template with C linkage
+   template<typename _Operation>
+   ^~~~~~~~
+/usr/include/c++/7/backward/binders.h:133:3: error: template with C linkage
+   template<typename _Operation, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/backward/binders.h:142:3: error: template with C linkage
+   template<typename _Operation>
+   ^~~~~~~~
+/usr/include/c++/7/backward/binders.h:168:3: error: template with C linkage
+   template<typename _Operation, typename _Tp>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/memory:77:0,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/uses_allocator.h:41:3: error: template with C linkage
+   template<typename _Alloc, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:51:3: error: template with C linkage
+   template<typename _Tp, typename _Alloc, typename = __void_t<>>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:55:3: error: template with C linkage
+   template<typename _Tp, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:62:3: error: template with C linkage
+   template<typename _Tp, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:74:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:77:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:80:3: error: template with C linkage
+   template<bool, typename _Tp, typename _Alloc, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:83:3: error: template with C linkage
+   template<typename _Tp, typename _Alloc, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:96:3: error: template with C linkage
+   template<typename _Tp, typename _Alloc, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:100:3: error: template with C linkage
+   template<typename _Tp, typename _Alloc, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:104:3: error: template with C linkage
+   template<typename _Tp, typename _Alloc, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:113:3: error: template with C linkage
+   template<typename _Tp, typename _Alloc, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:123:3: error: template with C linkage
+   template<template<typename...> class _Predicate,
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:131:3: error: template with C linkage
+   template<typename _Tp, typename _Alloc, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:137:3: error: template with C linkage
+   template<typename _Tp, typename _Alloc, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:142:3: error: template with C linkage
+   template<typename _Tp, typename _Alloc, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:150:3: error: template with C linkage
+   template<typename _Tp, typename _Alloc, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:156:3: error: template with C linkage
+   template<typename _Tp, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:161:3: error: template with C linkage
+   template<typename _Tp, typename _Alloc, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:169:3: error: template with C linkage
+   template<typename _Tp, typename _Alloc, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/uses_allocator.h:174:3: error: template with C linkage
+   template<typename _Tp, typename _Alloc, typename... _Args>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/utility:69:0,
+                 from /usr/include/c++/7/bits/unique_ptr.h:36,
+                 from /usr/include/c++/7/memory:80,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/stl_relops.h:85:5: error: template with C linkage
+     template <class _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/bits/stl_relops.h:98:5: error: template with C linkage
+     template <class _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/bits/stl_relops.h:111:5: error: template with C linkage
+     template <class _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/bits/stl_relops.h:124:5: error: template with C linkage
+     template <class _Tp>
+     ^~~~~~~~
+In file included from /usr/include/c++/7/utility:76:0,
+                 from /usr/include/c++/7/bits/unique_ptr.h:36,
+                 from /usr/include/c++/7/memory:80,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/initializer_list:46:3: error: template with C linkage
+   template<class _E>
+   ^~~~~~~~
+/usr/include/c++/7/initializer_list:87:3: error: template with C linkage
+   template<class _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/initializer_list:97:3: error: template with C linkage
+   template<class _Tp>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/unique_ptr.h:36:0,
+                 from /usr/include/c++/7/memory:80,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/utility:83:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/utility:90:3: error: template with C linkage
+   template<typename _Tp, typename = void>
+   ^~~~~~~~
+/usr/include/c++/7/utility:93:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/utility:99:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/utility:102:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/utility:105:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/utility:128:3: error: template with C linkage
+   template<std::size_t __i, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/utility:132:3: error: template with C linkage
+   template<std::size_t __i, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/utility:135:3: error: template with C linkage
+   template<std::size_t __i, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/utility:141:3: error: template with C linkage
+   template<std::size_t __i, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/utility:147:3: error: template with C linkage
+   template<std::size_t __i, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/utility:156:3: error: template with C linkage
+   template<std::size_t __i, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/utility:163:3: error: template with C linkage
+   template<typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/utility:168:3: error: template with C linkage
+   template<class _Tp1, class _Tp2>
+   ^~~~~~~~
+/usr/include/c++/7/utility:173:3: error: template with C linkage
+   template<class _Tp1, class _Tp2>
+   ^~~~~~~~
+/usr/include/c++/7/utility:178:3: error: template with C linkage
+   template<class _Tp1, class _Tp2>
+   ^~~~~~~~
+/usr/include/c++/7/utility:182:3: error: template with C linkage
+   template<std::size_t _Int>
+   ^~~~~~~~
+/usr/include/c++/7/utility:185:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/utility:204:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/utility:223:3: error: template with C linkage
+   template<std::size_t _Int, class _Tp1, class _Tp2>
+   ^~~~~~~~
+/usr/include/c++/7/utility:228:3: error: template with C linkage
+   template<std::size_t _Int, class _Tp1, class _Tp2>
+   ^~~~~~~~
+/usr/include/c++/7/utility:233:3: error: template with C linkage
+   template<std::size_t _Int, class _Tp1, class _Tp2>
+   ^~~~~~~~
+/usr/include/c++/7/utility:242:3: error: template with C linkage
+   template <typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/utility:247:3: error: template with C linkage
+   template <typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/utility:252:3: error: template with C linkage
+   template <typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/utility:257:3: error: template with C linkage
+   template <typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/utility:262:3: error: template with C linkage
+   template <typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/utility:267:3: error: template with C linkage
+   template <typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/utility:275:3: error: template with C linkage
+   template <typename _Tp, typename _Up = _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/utility:283:3: error: template with C linkage
+   template<size_t... _Indexes> struct _Index_tuple { };
+   ^~~~~~~~
+/usr/include/c++/7/utility:286:3: error: template with C linkage
+   template<typename _Itup1, typename _Itup2> struct _Itup_cat;
+   ^~~~~~~~
+/usr/include/c++/7/utility:288:3: error: template with C linkage
+   template<size_t... _Ind1, size_t... _Ind2>
+   ^~~~~~~~
+/usr/include/c++/7/utility:295:3: error: template with C linkage
+   template<size_t _Num>
+   ^~~~~~~~
+/usr/include/c++/7/utility:301:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/utility:307:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/utility:318:3: error: template with C linkage
+   template<typename _Tp, _Tp... _Idx>
+   ^~~~~~~~
+/usr/include/c++/7/utility:325:3: error: template with C linkage
+   template<typename _Tp, _Tp _Num,
+   ^~~~~~~~
+/usr/include/c++/7/utility:329:3: error: template with C linkage
+   template<typename _Tp, _Tp _Num,  size_t... _Idx>
+   ^~~~~~~~
+/usr/include/c++/7/utility:339:3: error: template with C linkage
+   template<typename _Tp, _Tp _Num>
+   ^~~~~~~~
+/usr/include/c++/7/utility:344:3: error: template with C linkage
+   template<size_t... _Idx>
+   ^~~~~~~~
+/usr/include/c++/7/utility:348:3: error: template with C linkage
+   template<size_t _Num>
+   ^~~~~~~~
+/usr/include/c++/7/utility:352:3: error: template with C linkage
+   template<typename... _Types>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/string:40:0,
+                 from /usr/include/c++/7/stdexcept:39,
+                 from /usr/include/c++/7/array:39,
+                 from /usr/include/c++/7/tuple:39,
+                 from /usr/include/c++/7/bits/unique_ptr.h:37,
+                 from /usr/include/c++/7/memory:80,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/char_traits.h:61:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/char_traits.h:86:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/char_traits.h:146:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/char_traits.h:159:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/char_traits.h:170:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/char_traits.h:181:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/char_traits.h:190:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/char_traits.h:200:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/char_traits.h:268:3: error: template with C linkage
+   template<class _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/char_traits.h:274:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/char_traits.h:387:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/string:40:0,
+                 from /usr/include/c++/7/stdexcept:39,
+                 from /usr/include/c++/7/array:39,
+                 from /usr/include/c++/7/tuple:39,
+                 from /usr/include/c++/7/bits/unique_ptr.h:37,
+                 from /usr/include/c++/7/memory:80,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/char_traits.h:507:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/char_traits.h:604:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/string:43:0,
+                 from /usr/include/c++/7/stdexcept:39,
+                 from /usr/include/c++/7/array:39,
+                 from /usr/include/c++/7/tuple:39,
+                 from /usr/include/c++/7/bits/unique_ptr.h:37,
+                 from /usr/include/c++/7/memory:80,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/localefwd.h:57:3: error: template with C linkage
+   template<typename _Facet>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:61:3: error: template with C linkage
+   template<typename _Facet>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:66:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:70:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:74:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:78:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:82:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:86:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:90:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:94:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:98:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:102:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:106:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:111:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:116:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:120:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:126:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:128:3: error: template specialization with C linkage
+   template<> class ctype<char>;
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:130:3: error: template specialization with C linkage
+   template<> class ctype<wchar_t>;
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:132:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:137:3: error: template with C linkage
+   template<typename _InternT, typename _ExternT, typename _StateT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:139:3: error: template specialization with C linkage
+   template<> class codecvt<char, char, mbstate_t>;
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:141:3: error: template specialization with C linkage
+   template<> class codecvt<wchar_t, char, mbstate_t>;
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:143:3: error: template with C linkage
+   template<typename _InternT, typename _ExternT, typename _StateT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:148:3: error: template with C linkage
+   template<typename _CharT, typename _InIter = istreambuf_iterator<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:150:3: error: template with C linkage
+   template<typename _CharT, typename _OutIter = ostreambuf_iterator<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:154:3: error: template with C linkage
+   template<typename _CharT> class numpunct;
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:155:3: error: template with C linkage
+   template<typename _CharT> class numpunct_byname;
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:160:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:162:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:169:3: error: template with C linkage
+   template<typename _CharT, typename _InIter =  istreambuf_iterator<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:171:3: error: template with C linkage
+   template<typename _CharT, typename _InIter =  istreambuf_iterator<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:174:3: error: template with C linkage
+   template<typename _CharT, typename _OutIter = ostreambuf_iterator<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:176:3: error: template with C linkage
+   template<typename _CharT, typename _OutIter = ostreambuf_iterator<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:182:3: error: template with C linkage
+   template<typename _CharT, typename _InIter =  istreambuf_iterator<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:184:3: error: template with C linkage
+   template<typename _CharT, typename _OutIter = ostreambuf_iterator<_CharT> >
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:188:3: error: template with C linkage
+   template<typename _CharT, bool _Intl = false>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:190:3: error: template with C linkage
+   template<typename _CharT, bool _Intl = false>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:197:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/localefwd.h:199:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/string:44:0,
+                 from /usr/include/c++/7/stdexcept:39,
+                 from /usr/include/c++/7/array:39,
+                 from /usr/include/c++/7/tuple:39,
+                 from /usr/include/c++/7/bits/unique_ptr.h:37,
+                 from /usr/include/c++/7/memory:80,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/ostream_insert.h:42:3: error: template with C linkage
+   template<typename _CharT, typename _Traits>
+   ^~~~~~~~
+/usr/include/c++/7/bits/ostream_insert.h:55:3: error: template with C linkage
+   template<typename _CharT, typename _Traits>
+   ^~~~~~~~
+/usr/include/c++/7/bits/ostream_insert.h:74:3: error: template with C linkage
+   template<typename _CharT, typename _Traits>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/string:51:0,
+                 from /usr/include/c++/7/stdexcept:39,
+                 from /usr/include/c++/7/array:39,
+                 from /usr/include/c++/7/tuple:39,
+                 from /usr/include/c++/7/bits/unique_ptr.h:37,
+                 from /usr/include/c++/7/memory:80,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/range_access.h:46:3: error: template with C linkage
+   template<typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:56:3: error: template with C linkage
+   template<typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:66:3: error: template with C linkage
+   template<typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:76:3: error: template with C linkage
+   template<typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:85:3: error: template with C linkage
+   template<typename _Tp, size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:95:3: error: template with C linkage
+   template<typename _Tp, size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:102:3: error: template with C linkage
+   template<typename _Tp> class valarray;
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:104:3: error: template with C linkage
+   template<typename _Tp> _Tp* begin(valarray<_Tp>&);
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:105:3: error: template with C linkage
+   template<typename _Tp> const _Tp* begin(const valarray<_Tp>&);
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:106:3: error: template with C linkage
+   template<typename _Tp> _Tp* end(valarray<_Tp>&);
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:107:3: error: template with C linkage
+   template<typename _Tp> const _Tp* end(const valarray<_Tp>&);
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:114:3: error: template with C linkage
+   template<typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:125:3: error: template with C linkage
+   template<typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:136:3: error: template with C linkage
+   template<typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:146:3: error: template with C linkage
+   template<typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:156:3: error: template with C linkage
+   template<typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:166:3: error: template with C linkage
+   template<typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:176:3: error: template with C linkage
+   template<typename _Tp, size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:186:3: error: template with C linkage
+   template<typename _Tp, size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:196:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:206:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:216:3: error: template with C linkage
+   template<typename _Container>
+   ^~~~~~~~
+/usr/include/c++/7/bits/range_access.h:226:3: error: template with C linkage
+   template<typename _Container>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/string:52:0,
+                 from /usr/include/c++/7/stdexcept:39,
+                 from /usr/include/c++/7/array:39,
+                 from /usr/include/c++/7/tuple:39,
+                 from /usr/include/c++/7/bits/unique_ptr.h:37,
+                 from /usr/include/c++/7/memory:80,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/basic_string.h:76:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:5886:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:5902:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:5913:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:5923:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:5939:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:5951:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:5957:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:5963:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:5975:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:5981:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:5987:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:5993:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6007:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6014:3: error: template with C linkage
+   template<typename _CharT>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6029:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6041:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6054:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6067:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6079:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6092:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6105:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6117:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6130:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6143:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6155:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6168:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6181:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6193:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6206:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6219:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6231:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6244:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6264:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6269:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6282:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6305:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6322:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6330:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6337:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6344:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6350:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/basic_string.h:6361:0,
+                 from /usr/include/c++/7/string:52,
+                 from /usr/include/c++/7/stdexcept:39,
+                 from /usr/include/c++/7/array:39,
+                 from /usr/include/c++/7/tuple:39,
+                 from /usr/include/c++/7/bits/unique_ptr.h:37,
+                 from /usr/include/c++/7/memory:80,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/ext/string_conversions.h:51:3: error: template with C linkage
+   template<typename _TRet, typename _Ret = _TRet, typename _CharT,
+   ^~~~~~~~
+/usr/include/c++/7/ext/string_conversions.h:97:3: error: template with C linkage
+   template<typename _String, typename _CharT = typename _String::value_type>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/string:52:0,
+                 from /usr/include/c++/7/stdexcept:39,
+                 from /usr/include/c++/7/array:39,
+                 from /usr/include/c++/7/tuple:39,
+                 from /usr/include/c++/7/bits/unique_ptr.h:37,
+                 from /usr/include/c++/7/memory:80,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/basic_string.h: In function ‘std::__cxx11::string std::__cxx11::to_string(unsigned int)’:
+/usr/include/c++/7/bits/basic_string.h:6419:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(unsigned int)’
+   to_string(unsigned __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6414:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(int)’
+   to_string(int __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘std::__cxx11::string std::__cxx11::to_string(long int)’:
+/usr/include/c++/7/bits/basic_string.h:6425:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long int)’
+   to_string(long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6419:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(unsigned int)’
+   to_string(unsigned __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6425:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long int)’
+   to_string(long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6414:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(int)’
+   to_string(int __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘std::__cxx11::string std::__cxx11::to_string(long unsigned int)’:
+/usr/include/c++/7/bits/basic_string.h:6430:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long unsigned int)’
+   to_string(unsigned long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6425:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long int)’
+   to_string(long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6430:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long unsigned int)’
+   to_string(unsigned long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6419:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(unsigned int)’
+   to_string(unsigned __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6430:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long unsigned int)’
+   to_string(unsigned long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6414:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(int)’
+   to_string(int __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘std::__cxx11::string std::__cxx11::to_string(long long int)’:
+/usr/include/c++/7/bits/basic_string.h:6436:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long long int)’
+   to_string(long long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6430:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long unsigned int)’
+   to_string(unsigned long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6436:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long long int)’
+   to_string(long long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6425:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long int)’
+   to_string(long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6436:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long long int)’
+   to_string(long long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6419:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(unsigned int)’
+   to_string(unsigned __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6436:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long long int)’
+   to_string(long long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6414:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(int)’
+   to_string(int __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘std::__cxx11::string std::__cxx11::to_string(long long unsigned int)’:
+/usr/include/c++/7/bits/basic_string.h:6442:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long long unsigned int)’
+   to_string(unsigned long long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6436:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long long int)’
+   to_string(long long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6442:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long long unsigned int)’
+   to_string(unsigned long long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6430:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long unsigned int)’
+   to_string(unsigned long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6442:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long long unsigned int)’
+   to_string(unsigned long long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6425:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long int)’
+   to_string(long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6442:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long long unsigned int)’
+   to_string(unsigned long long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6419:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(unsigned int)’
+   to_string(unsigned __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6442:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long long unsigned int)’
+   to_string(unsigned long long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6414:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(int)’
+   to_string(int __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘std::__cxx11::string std::__cxx11::to_string(float)’:
+/usr/include/c++/7/bits/basic_string.h:6448:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(float)’
+   to_string(float __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6442:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long long unsigned int)’
+   to_string(unsigned long long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6448:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(float)’
+   to_string(float __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6436:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long long int)’
+   to_string(long long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6448:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(float)’
+   to_string(float __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6430:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long unsigned int)’
+   to_string(unsigned long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6448:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(float)’
+   to_string(float __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6425:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long int)’
+   to_string(long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6448:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(float)’
+   to_string(float __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6419:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(unsigned int)’
+   to_string(unsigned __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6448:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(float)’
+   to_string(float __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6414:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(int)’
+   to_string(int __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘std::__cxx11::string std::__cxx11::to_string(double)’:
+/usr/include/c++/7/bits/basic_string.h:6457:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(double)’
+   to_string(double __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6448:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(float)’
+   to_string(float __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6457:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(double)’
+   to_string(double __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6442:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long long unsigned int)’
+   to_string(unsigned long long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6457:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(double)’
+   to_string(double __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6436:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long long int)’
+   to_string(long long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6457:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(double)’
+   to_string(double __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6430:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long unsigned int)’
+   to_string(unsigned long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6457:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(double)’
+   to_string(double __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6425:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long int)’
+   to_string(long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6457:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(double)’
+   to_string(double __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6419:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(unsigned int)’
+   to_string(unsigned __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6457:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(double)’
+   to_string(double __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6414:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(int)’
+   to_string(int __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘std::__cxx11::string std::__cxx11::to_string(long double)’:
+/usr/include/c++/7/bits/basic_string.h:6466:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long double)’
+   to_string(long double __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6457:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(double)’
+   to_string(double __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6466:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long double)’
+   to_string(long double __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6448:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(float)’
+   to_string(float __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6466:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long double)’
+   to_string(long double __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6442:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long long unsigned int)’
+   to_string(unsigned long long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6466:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long double)’
+   to_string(long double __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6436:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long long int)’
+   to_string(long long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6466:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long double)’
+   to_string(long double __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6430:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long unsigned int)’
+   to_string(unsigned long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6466:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long double)’
+   to_string(long double __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6425:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(long int)’
+   to_string(long __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6466:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long double)’
+   to_string(long double __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6419:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(unsigned int)’
+   to_string(unsigned __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6466:3: error: conflicting declaration of C function ‘std::__cxx11::string std::__cxx11::to_string(long double)’
+   to_string(long double __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6414:3: note: previous declaration ‘std::__cxx11::string std::__cxx11::to_string(int)’
+   to_string(int __val)
+   ^~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘int std::__cxx11::stoi(const wstring&, std::size_t*, int)’:
+/usr/include/c++/7/bits/basic_string.h:6477:3: error: conflicting declaration of C function ‘int std::__cxx11::stoi(const wstring&, std::size_t*, int)’
+   stoi(const wstring& __str, size_t* __idx = 0, int __base = 10)
+   ^~~~
+/usr/include/c++/7/bits/basic_string.h:6371:3: note: previous declaration ‘int std::__cxx11::stoi(const string&, std::size_t*, int)’
+   stoi(const string& __str, size_t* __idx = 0, int __base = 10)
+   ^~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘long int std::__cxx11::stol(const wstring&, std::size_t*, int)’:
+/usr/include/c++/7/bits/basic_string.h:6482:3: error: conflicting declaration of C function ‘long int std::__cxx11::stol(const wstring&, std::size_t*, int)’
+   stol(const wstring& __str, size_t* __idx = 0, int __base = 10)
+   ^~~~
+/usr/include/c++/7/bits/basic_string.h:6376:3: note: previous declaration ‘long int std::__cxx11::stol(const string&, std::size_t*, int)’
+   stol(const string& __str, size_t* __idx = 0, int __base = 10)
+   ^~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘long unsigned int std::__cxx11::stoul(const wstring&, std::size_t*, int)’:
+/usr/include/c++/7/bits/basic_string.h:6487:3: error: conflicting declaration of C function ‘long unsigned int std::__cxx11::stoul(const wstring&, std::size_t*, int)’
+   stoul(const wstring& __str, size_t* __idx = 0, int __base = 10)
+   ^~~~~
+/usr/include/c++/7/bits/basic_string.h:6381:3: note: previous declaration ‘long unsigned int std::__cxx11::stoul(const string&, std::size_t*, int)’
+   stoul(const string& __str, size_t* __idx = 0, int __base = 10)
+   ^~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘long long int std::__cxx11::stoll(const wstring&, std::size_t*, int)’:
+/usr/include/c++/7/bits/basic_string.h:6492:3: error: conflicting declaration of C function ‘long long int std::__cxx11::stoll(const wstring&, std::size_t*, int)’
+   stoll(const wstring& __str, size_t* __idx = 0, int __base = 10)
+   ^~~~~
+/usr/include/c++/7/bits/basic_string.h:6386:3: note: previous declaration ‘long long int std::__cxx11::stoll(const string&, std::size_t*, int)’
+   stoll(const string& __str, size_t* __idx = 0, int __base = 10)
+   ^~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘long long unsigned int std::__cxx11::stoull(const wstring&, std::size_t*, int)’:
+/usr/include/c++/7/bits/basic_string.h:6497:3: error: conflicting declaration of C function ‘long long unsigned int std::__cxx11::stoull(const wstring&, std::size_t*, int)’
+   stoull(const wstring& __str, size_t* __idx = 0, int __base = 10)
+   ^~~~~~
+/usr/include/c++/7/bits/basic_string.h:6391:3: note: previous declaration ‘long long unsigned int std::__cxx11::stoull(const string&, std::size_t*, int)’
+   stoull(const string& __str, size_t* __idx = 0, int __base = 10)
+   ^~~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘float std::__cxx11::stof(const wstring&, std::size_t*)’:
+/usr/include/c++/7/bits/basic_string.h:6503:3: error: conflicting declaration of C function ‘float std::__cxx11::stof(const wstring&, std::size_t*)’
+   stof(const wstring& __str, size_t* __idx = 0)
+   ^~~~
+/usr/include/c++/7/bits/basic_string.h:6397:3: note: previous declaration ‘float std::__cxx11::stof(const string&, std::size_t*)’
+   stof(const string& __str, size_t* __idx = 0)
+   ^~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘double std::__cxx11::stod(const wstring&, std::size_t*)’:
+/usr/include/c++/7/bits/basic_string.h:6507:3: error: conflicting declaration of C function ‘double std::__cxx11::stod(const wstring&, std::size_t*)’
+   stod(const wstring& __str, size_t* __idx = 0)
+   ^~~~
+/usr/include/c++/7/bits/basic_string.h:6401:3: note: previous declaration ‘double std::__cxx11::stod(const string&, std::size_t*)’
+   stod(const string& __str, size_t* __idx = 0)
+   ^~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘long double std::__cxx11::stold(const wstring&, std::size_t*)’:
+/usr/include/c++/7/bits/basic_string.h:6511:3: error: conflicting declaration of C function ‘long double std::__cxx11::stold(const wstring&, std::size_t*)’
+   stold(const wstring& __str, size_t* __idx = 0)
+   ^~~~~
+/usr/include/c++/7/bits/basic_string.h:6405:3: note: previous declaration ‘long double std::__cxx11::stold(const string&, std::size_t*)’
+   stold(const string& __str, size_t* __idx = 0)
+   ^~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘std::__cxx11::wstring std::__cxx11::to_wstring(unsigned int)’:
+/usr/include/c++/7/bits/basic_string.h:6522:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(unsigned int)’
+   to_wstring(unsigned __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6517:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(int)’
+   to_wstring(int __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long int)’:
+/usr/include/c++/7/bits/basic_string.h:6528:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long int)’
+   to_wstring(long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6522:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(unsigned int)’
+   to_wstring(unsigned __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6528:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long int)’
+   to_wstring(long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6517:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(int)’
+   to_wstring(int __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long unsigned int)’:
+/usr/include/c++/7/bits/basic_string.h:6533:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long unsigned int)’
+   to_wstring(unsigned long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6528:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long int)’
+   to_wstring(long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6533:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long unsigned int)’
+   to_wstring(unsigned long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6522:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(unsigned int)’
+   to_wstring(unsigned __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6533:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long unsigned int)’
+   to_wstring(unsigned long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6517:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(int)’
+   to_wstring(int __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long int)’:
+/usr/include/c++/7/bits/basic_string.h:6539:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long int)’
+   to_wstring(long long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6533:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long unsigned int)’
+   to_wstring(unsigned long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6539:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long int)’
+   to_wstring(long long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6528:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long int)’
+   to_wstring(long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6539:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long int)’
+   to_wstring(long long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6522:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(unsigned int)’
+   to_wstring(unsigned __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6539:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long int)’
+   to_wstring(long long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6517:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(int)’
+   to_wstring(int __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long unsigned int)’:
+/usr/include/c++/7/bits/basic_string.h:6545:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long unsigned int)’
+   to_wstring(unsigned long long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6539:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long int)’
+   to_wstring(long long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6545:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long unsigned int)’
+   to_wstring(unsigned long long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6533:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long unsigned int)’
+   to_wstring(unsigned long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6545:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long unsigned int)’
+   to_wstring(unsigned long long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6528:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long int)’
+   to_wstring(long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6545:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long unsigned int)’
+   to_wstring(unsigned long long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6522:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(unsigned int)’
+   to_wstring(unsigned __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6545:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long unsigned int)’
+   to_wstring(unsigned long long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6517:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(int)’
+   to_wstring(int __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘std::__cxx11::wstring std::__cxx11::to_wstring(float)’:
+/usr/include/c++/7/bits/basic_string.h:6551:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(float)’
+   to_wstring(float __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6545:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long unsigned int)’
+   to_wstring(unsigned long long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6551:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(float)’
+   to_wstring(float __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6539:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long int)’
+   to_wstring(long long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6551:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(float)’
+   to_wstring(float __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6533:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long unsigned int)’
+   to_wstring(unsigned long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6551:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(float)’
+   to_wstring(float __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6528:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long int)’
+   to_wstring(long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6551:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(float)’
+   to_wstring(float __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6522:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(unsigned int)’
+   to_wstring(unsigned __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6551:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(float)’
+   to_wstring(float __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6517:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(int)’
+   to_wstring(int __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘std::__cxx11::wstring std::__cxx11::to_wstring(double)’:
+/usr/include/c++/7/bits/basic_string.h:6560:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(double)’
+   to_wstring(double __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6551:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(float)’
+   to_wstring(float __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6560:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(double)’
+   to_wstring(double __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6545:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long unsigned int)’
+   to_wstring(unsigned long long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6560:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(double)’
+   to_wstring(double __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6539:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long int)’
+   to_wstring(long long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6560:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(double)’
+   to_wstring(double __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6533:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long unsigned int)’
+   to_wstring(unsigned long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6560:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(double)’
+   to_wstring(double __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6528:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long int)’
+   to_wstring(long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6560:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(double)’
+   to_wstring(double __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6522:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(unsigned int)’
+   to_wstring(unsigned __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6560:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(double)’
+   to_wstring(double __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6517:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(int)’
+   to_wstring(int __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h: In function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long double)’:
+/usr/include/c++/7/bits/basic_string.h:6569:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long double)’
+   to_wstring(long double __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6560:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(double)’
+   to_wstring(double __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6569:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long double)’
+   to_wstring(long double __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6551:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(float)’
+   to_wstring(float __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6569:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long double)’
+   to_wstring(long double __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6545:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long unsigned int)’
+   to_wstring(unsigned long long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6569:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long double)’
+   to_wstring(long double __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6539:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long long int)’
+   to_wstring(long long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6569:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long double)’
+   to_wstring(long double __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6533:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long unsigned int)’
+   to_wstring(unsigned long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6569:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long double)’
+   to_wstring(long double __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6528:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(long int)’
+   to_wstring(long __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6569:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long double)’
+   to_wstring(long double __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6522:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(unsigned int)’
+   to_wstring(unsigned __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6569:3: error: conflicting declaration of C function ‘std::__cxx11::wstring std::__cxx11::to_wstring(long double)’
+   to_wstring(long double __val)
+   ^~~~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6517:3: note: previous declaration ‘std::__cxx11::wstring std::__cxx11::to_wstring(int)’
+   to_wstring(int __val)
+   ^~~~~~~~~~
+In file included from /usr/include/c++/7/bits/basic_string.h:6587:0,
+                 from /usr/include/c++/7/string:52,
+                 from /usr/include/c++/7/stdexcept:39,
+                 from /usr/include/c++/7/array:39,
+                 from /usr/include/c++/7/tuple:39,
+                 from /usr/include/c++/7/bits/unique_ptr.h:37,
+                 from /usr/include/c++/7/memory:80,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/functional_hash.h: At global scope:
+/usr/include/c++/7/bits/functional_hash.h:49:3: error: template with C linkage
+   template<typename _Result, typename _Arg>
+   ^~~~~~~~
+/usr/include/c++/7/bits/functional_hash.h:57:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/functional_hash.h:60:3: error: template with C linkage
+   template<typename _Tp, typename = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/functional_hash.h:70:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/functional_hash.h:77:3: error: template with C linkage
+   template<typename _Tp, bool = is_enum<_Tp>::value>
+   ^~~~~~~~
+/usr/include/c++/7/bits/functional_hash.h:87:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/functional_hash.h:100:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/functional_hash.h:105:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/functional_hash.h:124:3: error: template specialization with C linkage
+   _Cxx_hashtable_define_trivial_hash(bool)
+   ^
+/usr/include/c++/7/bits/functional_hash.h:127:3: error: template specialization with C linkage
+   _Cxx_hashtable_define_trivial_hash(char)
+   ^
+/usr/include/c++/7/bits/functional_hash.h:130:3: error: template specialization with C linkage
+   _Cxx_hashtable_define_trivial_hash(signed char)
+   ^
+/usr/include/c++/7/bits/functional_hash.h:133:3: error: template specialization with C linkage
+   _Cxx_hashtable_define_trivial_hash(unsigned char)
+   ^
+/usr/include/c++/7/bits/functional_hash.h:136:3: error: template specialization with C linkage
+   _Cxx_hashtable_define_trivial_hash(wchar_t)
+   ^
+/usr/include/c++/7/bits/functional_hash.h:139:3: error: template specialization with C linkage
+   _Cxx_hashtable_define_trivial_hash(char16_t)
+   ^
+/usr/include/c++/7/bits/functional_hash.h:142:3: error: template specialization with C linkage
+   _Cxx_hashtable_define_trivial_hash(char32_t)
+   ^
+/usr/include/c++/7/bits/functional_hash.h:145:3: error: template specialization with C linkage
+   _Cxx_hashtable_define_trivial_hash(short)
+   ^
+/usr/include/c++/7/bits/functional_hash.h:148:3: error: template specialization with C linkage
+   _Cxx_hashtable_define_trivial_hash(int)
+   ^
+/usr/include/c++/7/bits/functional_hash.h:151:3: error: template specialization with C linkage
+   _Cxx_hashtable_define_trivial_hash(long)
+   ^
+/usr/include/c++/7/bits/functional_hash.h:154:3: error: template specialization with C linkage
+   _Cxx_hashtable_define_trivial_hash(long long)
+   ^
+/usr/include/c++/7/bits/functional_hash.h:157:3: error: template specialization with C linkage
+   _Cxx_hashtable_define_trivial_hash(unsigned short)
+   ^
+/usr/include/c++/7/bits/functional_hash.h:160:3: error: template specialization with C linkage
+   _Cxx_hashtable_define_trivial_hash(unsigned int)
+   ^
+/usr/include/c++/7/bits/functional_hash.h:163:3: error: template specialization with C linkage
+   _Cxx_hashtable_define_trivial_hash(unsigned long)
+   ^
+/usr/include/c++/7/bits/functional_hash.h:166:3: error: template specialization with C linkage
+   _Cxx_hashtable_define_trivial_hash(unsigned long long)
+   ^
+/usr/include/c++/7/bits/functional_hash.h:169:3: error: template specialization with C linkage
+   _Cxx_hashtable_define_trivial_hash(__GLIBCXX_TYPE_INT_N_0)
+   ^
+/usr/include/c++/7/bits/functional_hash.h:170:3: error: template specialization with C linkage
+   _Cxx_hashtable_define_trivial_hash(__GLIBCXX_TYPE_INT_N_0 unsigned)
+   ^
+/usr/include/c++/7/bits/functional_hash.h:194:5: error: template with C linkage
+     template<typename _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/bits/functional_hash.h:199:5: error: template with C linkage
+     template<typename _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/bits/functional_hash.h:213:5: error: template with C linkage
+     template<typename _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/bits/functional_hash.h:218:5: error: template with C linkage
+     template<typename _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/bits/functional_hash.h:225:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/functional_hash.h:237:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/functional_hash.h:249:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/functional_hash.h:263:3: error: template with C linkage
+   template<typename _Hash>
+   ^~~~~~~~
+/usr/include/c++/7/bits/functional_hash.h:267:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/string:52:0,
+                 from /usr/include/c++/7/stdexcept:39,
+                 from /usr/include/c++/7/array:39,
+                 from /usr/include/c++/7/tuple:39,
+                 from /usr/include/c++/7/bits/unique_ptr.h:37,
+                 from /usr/include/c++/7/memory:80,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/basic_string.h:6597:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6606:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6612:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6622:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6630:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6640:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6645:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6655:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.h:6674:48: error: literal operator with C linkage
+     operator""s(const char* __str, size_t __len)
+                                                ^
+/usr/include/c++/7/bits/basic_string.h:6680:51: error: literal operator with C linkage
+     operator""s(const wchar_t* __str, size_t __len)
+                                                   ^
+/usr/include/c++/7/bits/basic_string.h:6687:52: error: literal operator with C linkage
+     operator""s(const char16_t* __str, size_t __len)
+                                                    ^
+/usr/include/c++/7/bits/basic_string.h:6692:52: error: literal operator with C linkage
+     operator""s(const char32_t* __str, size_t __len)
+                                                    ^
+In file included from /usr/include/c++/7/string:53:0,
+                 from /usr/include/c++/7/stdexcept:39,
+                 from /usr/include/c++/7/array:39,
+                 from /usr/include/c++/7/tuple:39,
+                 from /usr/include/c++/7/bits/unique_ptr.h:37,
+                 from /usr/include/c++/7/memory:80,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/basic_string.tcc:52:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:56:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:130:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:160:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:203:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:235:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:252:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:278:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:308:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:332:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:345:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:357:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:376:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:390:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:419:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:472:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1155:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1171:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1185:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1221:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1239:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1261:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1278:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1294:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1316:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1329:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1340:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1362:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1382:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1397:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1415:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1430:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1446:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1463:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/basic_string.tcc:1535:3: error: template with C linkage
+   template<typename _CharT, typename _Traits, typename _Alloc>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/tuple:39:0,
+                 from /usr/include/c++/7/bits/unique_ptr.h:37,
+                 from /usr/include/c++/7/memory:80,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/array:47:3: error: template with C linkage
+   template<typename _Tp, std::size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/array:63:2: error: template with C linkage
+  template<typename _Tp>
+  ^~~~~~~~
+/usr/include/c++/7/array:93:3: error: template with C linkage
+   template<typename _Tp, std::size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/array:250:3: error: template with C linkage
+   template<typename _Tp, std::size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/array:255:3: error: template with C linkage
+   template<typename _Tp, std::size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/array:260:3: error: template with C linkage
+   template<typename _Tp, std::size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/array:268:3: error: template with C linkage
+   template<typename _Tp, std::size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/array:273:3: error: template with C linkage
+   template<typename _Tp, std::size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/array:278:3: error: template with C linkage
+   template<typename _Tp, std::size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/array:284:3: error: template with C linkage
+   template<typename _Tp, std::size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/array:299:3: error: template with C linkage
+   template<typename _Tp, std::size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/array:305:3: error: template with C linkage
+   template<std::size_t _Int, typename _Tp, std::size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/array:314:3: error: template with C linkage
+   template<std::size_t _Int, typename _Tp, std::size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/array:322:3: error: template with C linkage
+   template<std::size_t _Int, typename _Tp, std::size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/array:341:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/array:345:3: error: template with C linkage
+   template<typename _Tp, std::size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/array:350:3: error: template with C linkage
+   template<std::size_t _Int, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/array:354:3: error: template with C linkage
+   template<std::size_t _Int, typename _Tp, std::size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/array:361:3: error: template with C linkage
+   template<typename _Tp, std::size_t _Nm>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/tuple:41:0,
+                 from /usr/include/c++/7/bits/unique_ptr.h:37,
+                 from /usr/include/c++/7/memory:80,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/invoke.h:52:3: error: template with C linkage
+   template<typename _Tp, typename _Up = typename __inv_unwrap<_Tp>::type>
+   ^~~~~~~~
+/usr/include/c++/7/bits/invoke.h:57:3: error: template with C linkage
+   template<typename _Res, typename _Fn, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/invoke.h:62:3: error: template with C linkage
+   template<typename _Res, typename _MemFun, typename _Tp, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/invoke.h:68:3: error: template with C linkage
+   template<typename _Res, typename _MemFun, typename _Tp, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/invoke.h:76:3: error: template with C linkage
+   template<typename _Res, typename _MemPtr, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/invoke.h:81:3: error: template with C linkage
+   template<typename _Res, typename _MemPtr, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/invoke.h:87:3: error: template with C linkage
+   template<typename _Callable, typename... _Args>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/unique_ptr.h:37:0,
+                 from /usr/include/c++/7/memory:80,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/tuple:52:3: error: template with C linkage
+   template<typename... _Elements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:55:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:59:3: error: template with C linkage
+   template<typename _El0, typename... _El>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:63:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:68:3: error: template with C linkage
+   template<std::size_t _Idx, typename _Head,
+   ^~~~~~~~
+/usr/include/c++/7/tuple:72:3: error: template with C linkage
+   template<std::size_t _Idx, typename _Head>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:119:3: error: template with C linkage
+   template<std::size_t _Idx, typename _Head>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:176:3: error: template with C linkage
+   template<std::size_t _Idx, typename... _Elements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:184:3: error: template with C linkage
+   template<std::size_t _Idx, typename _Head, typename... _Tail>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:342:3: error: template with C linkage
+   template<std::size_t _Idx, typename _Head>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:467:3: error: template with C linkage
+   template<bool, typename... _Elements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:515:3: error: template with C linkage
+   template<typename... _Elements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:555:3: error: template with C linkage
+   template<typename... _Elements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:889:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:906:3: error: template with C linkage
+   template<typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1265:3: error: template with C linkage
+   template<typename... _Elements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1278:3: error: template with C linkage
+   template<std::size_t __i, typename _Head, typename... _Tail>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1285:3: error: template with C linkage
+   template<typename _Head, typename... _Tail>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1294:3: error: template with C linkage
+   template<size_t __i>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1301:3: error: template with C linkage
+   template<std::size_t __i, typename _Head, typename... _Tail>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1306:3: error: template with C linkage
+   template<std::size_t __i, typename _Head, typename... _Tail>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1312:3: error: template with C linkage
+   template<std::size_t __i, typename... _Elements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1318:3: error: template with C linkage
+   template<std::size_t __i, typename... _Elements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1324:3: error: template with C linkage
+   template<std::size_t __i, typename... _Elements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1336:3: error: template with C linkage
+   template<typename _Head, size_t __i, typename... _Tail>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1341:3: error: template with C linkage
+   template<typename _Head, size_t __i, typename... _Tail>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1347:3: error: template with C linkage
+   template <typename _Tp, typename... _Types>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1353:3: error: template with C linkage
+   template <typename _Tp, typename... _Types>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1359:3: error: template with C linkage
+   template <typename _Tp, typename... _Types>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1366:3: error: template with C linkage
+   template<typename _Tp, typename _Up, size_t __i, size_t __size>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1385:3: error: template with C linkage
+   template<typename _Tp, typename _Up, size_t __size>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1395:3: error: template with C linkage
+   template<typename... _TElements, typename... _UElements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1408:3: error: template with C linkage
+   template<typename... _TElements, typename... _UElements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1421:3: error: template with C linkage
+   template<typename... _TElements, typename... _UElements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1427:3: error: template with C linkage
+   template<typename... _TElements, typename... _UElements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1433:3: error: template with C linkage
+   template<typename... _TElements, typename... _UElements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1439:3: error: template with C linkage
+   template<typename... _TElements, typename... _UElements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1446:3: error: template with C linkage
+   template<typename... _Elements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1457:3: error: template with C linkage
+   template<typename... _Elements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1462:3: error: template with C linkage
+   template<size_t, typename, typename, size_t>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1465:3: error: template with C linkage
+   template<size_t _Idx, typename _Tuple, typename... _Tp, size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1472:3: error: template with C linkage
+   template<std::size_t _Nm, typename _Tuple, typename... _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1478:3: error: template with C linkage
+   template<typename _Tuple>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1484:3: error: template with C linkage
+   template<typename _Tuple>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1491:3: error: template with C linkage
+   template<typename...>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1494:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1500:3: error: template with C linkage
+   template<typename... _Ts>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1506:3: error: template with C linkage
+   template<typename... _T1s, typename... _T2s, typename... _Rem>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1514:3: error: template with C linkage
+   template<typename... _Tpls>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1523:3: error: template with C linkage
+   template<typename...>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1526:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1532:3: error: template with C linkage
+   template<typename _Tp, typename... _Tpls>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1542:3: error: template with C linkage
+   template<typename _Ret, typename _Indices, typename... _Tpls>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1545:3: error: template with C linkage
+   template<typename _Ret, std::size_t... _Is, typename _Tp, typename... _Tpls>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1560:3: error: template with C linkage
+   template<typename _Ret>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1572:3: error: template with C linkage
+   template<typename... _Tpls, typename = typename
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1587:3: error: template with C linkage
+   template<typename... _Elements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1593:3: error: template with C linkage
+   template<typename... _Elements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1607:3: error: template with C linkage
+   template<typename... _Elements>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1618:5: error: template with C linkage
+     template<class _Tp>
+     ^~~~~~~~
+/usr/include/c++/7/tuple:1629:3: error: template with C linkage
+   template<typename... _Types, typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1633:3: error: template with C linkage
+   template<class _T1, class _T2>
+   ^~~~~~~~
+/usr/include/c++/7/tuple:1644:3: error: template with C linkage
+   template<class _T1, class _T2>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/memory:80:0,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/unique_ptr.h:51:3: error: template with C linkage
+   template<typename> class auto_ptr;
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:55:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:85:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:116:3: error: template with C linkage
+   template <typename _Tp, typename _Dp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:156:3: error: template with C linkage
+   template <typename _Tp, typename _Dp = default_delete<_Tp>>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:396:3: error: template with C linkage
+   template<typename _Tp, typename _Dp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:661:3: error: template with C linkage
+   template<typename _Tp, typename _Dp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:674:3: error: template with C linkage
+   template<typename _Tp, typename _Dp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:680:3: error: template with C linkage
+   template<typename _Tp, typename _Dp,
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:687:3: error: template with C linkage
+   template<typename _Tp, typename _Dp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:692:3: error: template with C linkage
+   template<typename _Tp, typename _Dp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:697:3: error: template with C linkage
+   template<typename _Tp, typename _Dp,
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:704:3: error: template with C linkage
+   template<typename _Tp, typename _Dp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:709:3: error: template with C linkage
+   template<typename _Tp, typename _Dp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:714:3: error: template with C linkage
+   template<typename _Tp, typename _Dp,
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:726:3: error: template with C linkage
+   template<typename _Tp, typename _Dp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:732:3: error: template with C linkage
+   template<typename _Tp, typename _Dp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:738:3: error: template with C linkage
+   template<typename _Tp, typename _Dp,
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:745:3: error: template with C linkage
+   template<typename _Tp, typename _Dp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:750:3: error: template with C linkage
+   template<typename _Tp, typename _Dp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:755:3: error: template with C linkage
+   template<typename _Tp, typename _Dp,
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:762:3: error: template with C linkage
+   template<typename _Tp, typename _Dp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:768:3: error: template with C linkage
+   template<typename _Tp, typename _Dp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:774:3: error: template with C linkage
+   template<typename _Tp, typename _Dp,
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:781:3: error: template with C linkage
+   template<typename _Tp, typename _Dp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:786:3: error: template with C linkage
+   template<typename _Tp, typename _Dp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:792:3: error: template with C linkage
+   template<typename _Tp, typename _Dp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:809:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:813:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:817:3: error: template with C linkage
+   template<typename _Tp, size_t _Bound>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:822:3: error: template with C linkage
+   template<typename _Tp, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:828:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/unique_ptr.h:834:3: error: template with C linkage
+   template<typename _Tp, typename... _Args>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/shared_ptr_base.h:55:0,
+                 from /usr/include/c++/7/bits/shared_ptr.h:52,
+                 from /usr/include/c++/7/memory:81,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/allocated_ptr.h:45:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+/usr/include/c++/7/bits/allocated_ptr.h:100:3: error: template with C linkage
+   template<typename _Alloc>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/shared_ptr_base.h:56:0,
+                 from /usr/include/c++/7/bits/shared_ptr.h:52,
+                 from /usr/include/c++/7/memory:81,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/refwrap.h:48:3: error: template with C linkage
+   template<typename _Functor, typename = __void_t<>>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:52:3: error: template with C linkage
+   template<typename _Functor>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:61:3: error: template with C linkage
+   template<typename _Functor>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:67:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:71:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:75:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:79:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:83:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:87:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:91:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:95:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:100:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:104:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:109:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:113:3: error: template with C linkage
+   template<typename _Res, typename... _ArgTypes _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:119:3: error: template with C linkage
+   template<typename _Res, typename _Class, typename... _ArgTypes
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:125:3: error: template with C linkage
+   template<typename _Res, typename _Class, typename... _ArgTypes
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:132:3: error: template with C linkage
+   template<typename _Res, typename _Class, typename... _ArgTypes
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:138:3: error: template with C linkage
+   template<typename _Res, typename _Class, typename... _ArgTypes
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:145:3: error: template with C linkage
+   template<typename _Res, typename _Class, typename... _ArgTypes
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:151:3: error: template with C linkage
+   template<typename _Res, typename _Class, typename... _ArgTypes
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:158:3: error: template with C linkage
+   template<typename _Res, typename _Class, typename... _ArgTypes
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:164:3: error: template with C linkage
+   template<typename _Res, typename _Class, typename... _ArgTypes
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:174:3: error: template with C linkage
+   template<typename _Functor>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:180:3: error: template with C linkage
+   template<typename _Tp, typename = __void_t<>>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:185:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:193:3: error: template with C linkage
+   template<typename _Tp, typename = __void_t<>>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:198:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:213:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:219:3: error: template with C linkage
+   template<typename _Res, typename _T1 _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:224:3: error: template with C linkage
+   template<typename _Res, typename _T1>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:229:3: error: template with C linkage
+   template<typename _Res, typename _T1>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:234:3: error: template with C linkage
+   template<typename _Res, typename _T1>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:240:3: error: template with C linkage
+   template<typename _Res, typename _T1, typename _T2 _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:245:3: error: template with C linkage
+   template<typename _Res, typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:250:3: error: template with C linkage
+   template<typename _Res, typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:255:3: error: template with C linkage
+   template<typename _Res, typename _T1, typename _T2>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:261:3: error: template with C linkage
+   template<typename _Res, typename _T1 _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:267:3: error: template with C linkage
+   template<typename _Res, typename _T1, typename _T2 _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:273:3: error: template with C linkage
+   template<typename _Res, typename _T1 _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:279:3: error: template with C linkage
+   template<typename _Res, typename _T1, typename _T2 _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:285:3: error: template with C linkage
+   template<typename _Res, typename _T1 _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:291:3: error: template with C linkage
+   template<typename _Res, typename _T1, typename _T2 _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:297:3: error: template with C linkage
+   template<typename _Res, typename _T1 _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:303:3: error: template with C linkage
+   template<typename _Res, typename _T1, typename _T2 _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:309:3: error: template with C linkage
+   template<typename _Res, typename _T1 _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:315:3: error: template with C linkage
+   template<typename _Res, typename _T1, typename _T2 _GLIBCXX_NOEXCEPT_PARM>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:325:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:362:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:368:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:373:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:376:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:380:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/refwrap.h:386:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/shared_ptr_base.h:58:0,
+                 from /usr/include/c++/7/bits/shared_ptr.h:52,
+                 from /usr/include/c++/7/memory:81,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/ext/aligned_buffer.h:46:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/ext/aligned_buffer.h:83:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/shared_ptr.h:52:0,
+                 from /usr/include/c++/7/memory:81,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/shared_ptr_base.h:65:3: error: template with C linkage
+   template<typename> class auto_ptr;
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:92:3: error: template with C linkage
+   template<_Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:100:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:111:3: error: template with C linkage
+   template<_Lock_policy _Lp = __default_lock_policy>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:213:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:223:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:236:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:255:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:266:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:280:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:300:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:305:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:317:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:322:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:330:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:337:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp = __default_lock_policy>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:340:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp = __default_lock_policy>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:343:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp = __default_lock_policy>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:346:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:349:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:352:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:355:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:358:3: error: template with C linkage
+   template<_Lock_policy _Lp = __default_lock_policy>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:361:3: error: template with C linkage
+   template<_Lock_policy _Lp = __default_lock_policy>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:366:3: error: template with C linkage
+   template<typename _Ptr, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:393:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:397:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:401:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:405:3: error: template with C linkage
+   template<int _Nm, typename _Tp,
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:410:3: error: template with C linkage
+   template<int _Nm, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:421:3: error: template with C linkage
+   template<int _Nm, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:436:3: error: template with C linkage
+   template<typename _Ptr, typename _Deleter, typename _Alloc, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:502:3: error: template with C linkage
+   template<typename _Tp, typename _Alloc, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:567:5: error: template with C linkage
+     template<typename _Yp>
+     ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:571:3: error: template with C linkage
+   template<_Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:749:3: error: template with C linkage
+   template<_Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:846:3: error: template with C linkage
+   template<_Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:858:3: error: template with C linkage
+   template<_Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:875:3: error: template with C linkage
+   template<typename _Yp_ptr, typename _Tp_ptr>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:880:3: error: template with C linkage
+   template<typename _Yp, typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:885:3: error: template with C linkage
+   template<typename _Up, size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:890:3: error: template with C linkage
+   template<typename _Up, size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:895:3: error: template with C linkage
+   template<typename _Up, size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:900:3: error: template with C linkage
+   template<typename _Up, size_t _Nm>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:906:3: error: template with C linkage
+   template<typename _Up, size_t _Nm, typename _Yp, typename = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:911:3: error: template with C linkage
+   template<typename _Up, size_t _Nm, typename _Yp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:917:3: error: template with C linkage
+   template<typename _Up, typename _Yp, typename = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:922:3: error: template with C linkage
+   template<typename _Up, typename _Yp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:928:3: error: template with C linkage
+   template<typename _Tp, typename _Yp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:932:3: error: template with C linkage
+   template<typename _Up, size_t _Nm, typename _Yp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:938:3: error: template with C linkage
+   template<typename _Up, typename _Yp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:944:3: error: template with C linkage
+   template<typename _Tp, typename _Yp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:951:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp,
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:979:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:995:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1033:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1407:3: error: template with C linkage
+   template<typename _Tp1, typename _Tp2, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1413:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1418:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1423:3: error: template with C linkage
+   template<typename _Tp1, typename _Tp2, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1429:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1434:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1439:3: error: template with C linkage
+   template<typename _Tp, typename _Up, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1450:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1458:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1466:3: error: template with C linkage
+   template<typename _Tp1, typename _Tp2, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1472:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1477:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1482:3: error: template with C linkage
+   template<typename _Tp1, typename _Tp2, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1488:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1493:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1498:3: error: template with C linkage
+   template<typename _Tp1, typename _Tp2, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1504:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1509:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1514:3: error: template with C linkage
+   template<typename _Sp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1525:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1531:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1543:3: error: template with C linkage
+   template<typename _Tp, typename _Tp1, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1556:3: error: template with C linkage
+   template<typename _Tp, typename _Tp1, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1569:3: error: template with C linkage
+   template<typename _Tp, typename _Tp1, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1589:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1739:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1744:3: error: template with C linkage
+   template<typename _Tp, typename _Tp1>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1760:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1772:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1777:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1783:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1833:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp, typename _Alloc, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1841:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_base.h:1851:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/memory:81:0,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/shared_ptr.h:64:3: error: template with C linkage
+   template<typename _Ch, typename _Tr, typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:74:3: error: template with C linkage
+   template<typename _Del, typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:92:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:366:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:371:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:376:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:381:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:386:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:391:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:396:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:406:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:414:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:422:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:427:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:432:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:437:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:442:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:447:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:452:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:457:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:462:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:467:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:472:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:478:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:486:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:494:3: error: template with C linkage
+   template<typename _Tp, typename _Up>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:519:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:593:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:600:3: error: template with C linkage
+   template<typename _Tp = void>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:604:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:609:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:615:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:623:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:686:3: error: template with C linkage
+   template<typename _Tp, typename _Alloc, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:701:3: error: template with C linkage
+   template<typename _Tp, typename... _Args>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr.h:711:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/bits/shared_ptr_atomic.h:33:0,
+                 from /usr/include/c++/7/memory:82,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/atomic_base.h:109:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/atomic_base.h:119:3: error: template with C linkage
+   template<typename _IntTp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/atomic_base.h:125:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/atomic_base.h:128:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/atomic_base.h:237:3: error: template with C linkage
+   template<typename _ITp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/atomic_base.h:564:3: error: template with C linkage
+   template<typename _PTp>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/memory:82:0,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/bits/shared_ptr_atomic.h:69:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:80:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:96:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:104:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:109:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:117:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:132:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:141:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:146:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:156:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:169:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:179:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:187:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:198:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:218:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:240:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:249:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:261:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:270:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:292:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:302:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/bits/shared_ptr_atomic.h:314:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+In file included from /usr/include/c++/7/memory:84:0,
+                 from /usr/include/unicode/localpointer.h:45,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/backward/auto_ptr.h:47:3: error: template with C linkage
+   template<typename _Tp1>
+   ^~~~~~~~
+/usr/include/c++/7/backward/auto_ptr.h:86:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/backward/auto_ptr.h:289:3: error: template specialization with C linkage
+   template<>
+   ^~~~~~~~
+/usr/include/c++/7/backward/auto_ptr.h:297:3: error: template with C linkage
+   template<_Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/backward/auto_ptr.h:304:3: error: template with C linkage
+   template<typename _Tp, _Lock_policy _Lp>
+   ^~~~~~~~
+/usr/include/c++/7/backward/auto_ptr.h:317:3: error: template with C linkage
+   template<typename _Tp>
+   ^~~~~~~~
+/usr/include/c++/7/backward/auto_ptr.h:323:3: error: template with C linkage
+   template<typename _Tp, typename _Dp>
+   ^~~~~~~~
+In file included from /usr/include/unicode/localpointer.h:45:0,
+                 from /usr/include/unicode/uenum.h:23,
+                 from /usr/include/unicode/ucnv.h:53,
+                 from /usr/include/libxml2/libxml/encoding.h:31,
+                 from /usr/include/libxml2/libxml/parser.h:810,
+                 from /usr/include/libxml2/libxml/globals.h:18,
+                 from /usr/include/libxml2/libxml/threads.h:35,
+                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
+                 from /usr/include/libxml2/libxml/tree.h:1307,
+                 from /usr/include/php/20180731/ext/libxml/php_libxml.h:39,
+                 from /home/ubuntu/xmldiff-1.1.2/php_xmldiff.h:67,
+                 from /home/ubuntu/xmldiff-1.1.2/xmldiff.cpp:36:
+/usr/include/c++/7/memory:135:1: error: template with C linkage
+ template <typename _Tp>
+ ^~~~~~~~
+Makefile:214: recipe for target 'xmldiff.lo' failed
+make: *** [xmldiff.lo] Error 1
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.