Closed div927 closed 1 week ago
gem install nokogiri -v 1.6.8.1 -- --use-system-libraries --with-xml2-config=$(brew --prefix libxml2)/bin/xml2-config --with-xslt-config=$(brew --prefix libxslt)/bin/xslt-config Building native extensions with: '--use-system-libraries --with-xml2-config=/usr/local/opt/libxml2/bin/xml2-config --with-xslt-config=/usr/local/opt/libxslt/bin/xslt-config' This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension. current directory: /Users/div927/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ext/nokogiri /Users/div927/.rbenv/versions/2.3.3/bin/ruby -r ./siteconf20241007-96285-16n96im.rb extconf.rb --use-system-libraries --with-xml2-config=/usr/local/opt/libxml2/bin/xml2-config --with-xslt-config=/usr/local/opt/libxslt/bin/xslt-config checking if the C compiler accepts ... yes checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no Building nokogiri using system libraries. Using pkg-config gem version 1.1.7 checking for libxslt... yes checking for libexslt... no checking for xmlParseDoc() in libxml/parser.h... yes checking for xsltParseStylesheetDoc() in libxslt/xslt.h... no checking for xsltParseStylesheetDoc() in -lxslt... yes checking for exsltFuncRegister() in libexslt/exslt.h... yes checking for xmlHasFeature()... yes checking for xmlFirstElementChild()... yes checking for xmlRelaxNGSetParserStructuredErrors()... yes checking for xmlRelaxNGSetParserStructuredErrors()... yes checking for xmlRelaxNGSetValidStructuredErrors()... yes checking for xmlSchemaSetValidStructuredErrors()... yes checking for xmlSchemaSetParserStructuredErrors()... yes creating Makefile To see why this extension failed to compile, please check the mkmf.log which can be found here: /Users/div927/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-24/2.3.0-static/nokogiri-1.6.8.1/mkmf.log current directory: /Users/div927/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ext/nokogiri make "DESTDIR=" clean current directory: /Users/div927/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1/ext/nokogiri make "DESTDIR=" compiling xml_comment.c xml_comment.c:68:17: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 68 | document_id = rb_intern("document"); | ^~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ xml_comment.c:68:17: note: '{' token is here 68 | document_id = rb_intern("document"); | ^~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1722 | { \ | ^ xml_comment.c:68:17: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 68 | document_id = rb_intern("document"); | ^~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1727 | } | ^ xml_comment.c:68:17: note: ')' token is here 68 | document_id = rb_intern("document"); | ^~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ 2 warnings generated. compiling xml_element_content.c compiling html_element_description.c compiling nokogiri.c nokogiri.c:83:17: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 83 | rb_intern("LIBXML_VERSION"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ nokogiri.c:83:17: note: '{' token is here 83 | rb_intern("LIBXML_VERSION"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1722 | { \ | ^ nokogiri.c:83:17: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 83 | rb_intern("LIBXML_VERSION"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1727 | } | ^ nokogiri.c:83:17: note: ')' token is here 83 | rb_intern("LIBXML_VERSION"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ nokogiri.c:87:17: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 87 | rb_intern("LIBXML_PARSER_VERSION"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ nokogiri.c:87:17: note: '{' token is here 87 | rb_intern("LIBXML_PARSER_VERSION"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1722 | { \ | ^ nokogiri.c:87:17: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 87 | rb_intern("LIBXML_PARSER_VERSION"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1727 | } | ^ nokogiri.c:87:17: note: ')' token is here 87 | rb_intern("LIBXML_PARSER_VERSION"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ nokogiri.c:98:27: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 98 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_USE_PACKAGED_LIBRARIES"), Qfalse); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ nokogiri.c:98:27: note: '{' token is here 98 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_USE_PACKAGED_LIBRARIES"), Qfalse); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1722 | { \ | ^ nokogiri.c:98:27: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 98 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_USE_PACKAGED_LIBRARIES"), Qfalse); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1727 | } | ^ nokogiri.c:98:27: note: ')' token is here 98 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_USE_PACKAGED_LIBRARIES"), Qfalse); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ nokogiri.c:99:27: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 99 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_LIBXML2_PATH"), Qnil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ nokogiri.c:99:27: note: '{' token is here 99 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_LIBXML2_PATH"), Qnil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1722 | { \ | ^ nokogiri.c:99:27: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 99 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_LIBXML2_PATH"), Qnil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1727 | } | ^ nokogiri.c:99:27: note: ')' token is here 99 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_LIBXML2_PATH"), Qnil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ nokogiri.c:100:27: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 100 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_LIBXSLT_PATH"), Qnil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ nokogiri.c:100:27: note: '{' token is here 100 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_LIBXSLT_PATH"), Qnil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1722 | { \ | ^ nokogiri.c:100:27: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 100 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_LIBXSLT_PATH"), Qnil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1727 | } | ^ nokogiri.c:100:27: note: ')' token is here 100 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_LIBXSLT_PATH"), Qnil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ nokogiri.c:101:27: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 101 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_LIBXML2_PATCHES"), Qnil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ nokogiri.c:101:27: note: '{' token is here 101 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_LIBXML2_PATCHES"), Qnil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1722 | { \ | ^ nokogiri.c:101:27: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 101 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_LIBXML2_PATCHES"), Qnil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1727 | } | ^ nokogiri.c:101:27: note: ')' token is here 101 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_LIBXML2_PATCHES"), Qnil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ nokogiri.c:102:27: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 102 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_LIBXSLT_PATCHES"), Qnil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ nokogiri.c:102:27: note: '{' token is here 102 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_LIBXSLT_PATCHES"), Qnil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1722 | { \ | ^ nokogiri.c:102:27: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 102 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_LIBXSLT_PATCHES"), Qnil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1727 | } | ^ nokogiri.c:102:27: note: ')' token is here 102 | rb_const_set(mNokogiri, rb_intern("NOKOGIRI_LIBXSLT_PATCHES"), Qnil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ nokogiri.c:106:27: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 106 | rb_const_set(mNokogiri, rb_intern("LIBXML_ICONV_ENABLED"), Qtrue); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ nokogiri.c:106:27: note: '{' token is here 106 | rb_const_set(mNokogiri, rb_intern("LIBXML_ICONV_ENABLED"), Qtrue); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1722 | { \ | ^ nokogiri.c:106:27: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 106 | rb_const_set(mNokogiri, rb_intern("LIBXML_ICONV_ENABLED"), Qtrue); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1727 | } | ^ nokogiri.c:106:27: note: ')' token is here 106 | rb_const_set(mNokogiri, rb_intern("LIBXML_ICONV_ENABLED"), Qtrue); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ 16 warnings generated. compiling xml_element_decl.c xml_element_decl.c:68:17: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 68 | id_document = rb_intern("document"); | ^~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ xml_element_decl.c:68:17: note: '{' token is here 68 | id_document = rb_intern("document"); | ^~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1722 | { \ | ^ xml_element_decl.c:68:17: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 68 | id_document = rb_intern("document"); | ^~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1727 | } | ^ xml_element_decl.c:68:17: note: ')' token is here 68 | id_document = rb_intern("document"); | ^~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ 2 warnings generated. compiling xml_node_set.c xml_node_set.c:357:24: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 357 | rb_funcall(node, rb_intern("unlink"), 0); /* modifies the C struct out from under the object */ | ^~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ xml_node_set.c:357:24: note: '{' token is here 357 | rb_funcall(node, rb_intern("unlink"), 0); /* modifies the C struct out from under the object */ | ^~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1722 | { \ | ^ xml_node_set.c:357:24: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 357 | rb_funcall(node, rb_intern("unlink"), 0); /* modifies the C struct out from under the object */ | ^~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1727 | } | ^ xml_node_set.c:357:24: note: ')' token is here 357 | rb_funcall(node, rb_intern("unlink"), 0); /* modifies the C struct out from under the object */ | ^~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ xml_node_set.c:484:14: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 484 | decorate = rb_intern("decorate"); | ^~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ xml_node_set.c:484:14: note: '{' token is here 484 | decorate = rb_intern("decorate"); | ^~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1722 | { \ | ^ xml_node_set.c:484:14: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 484 | decorate = rb_intern("decorate"); | ^~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1727 | } | ^ xml_node_set.c:484:14: note: ')' token is here 484 | decorate = rb_intern("decorate"); | ^~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ 4 warnings generated. compiling xml_namespace.c xml_namespace.c:67:49: warning: incompatible pointer types passing 'struct _xmlNs *' to parameter of type 'xmlNodePtr' (aka 'struct _xmlNode *') [-Wincompatible-pointer-types] 67 | return (node->next && ! Nokogiri_namespace_eh(node->next)); | ^~~~~~~~~~ xml_namespace.c:27:38: note: passing argument to parameter 'node' here 27 | int Nokogiri_namespace_eh(xmlNodePtr node) | ^ 1 warning generated. compiling xml_encoding_handler.c compiling xml_libxml2_hacks.c compiling xml_relax_ng.c compiling xml_sax_push_parser.c compiling html_sax_parser_context.c compiling xslt_stylesheet.c xslt_stylesheet.c:148:39: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 148 | paramobj = rb_funcall(paramobj, rb_intern("to_a"), 0); | ^~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ xslt_stylesheet.c:148:39: note: '{' token is here 148 | paramobj = rb_funcall(paramobj, rb_intern("to_a"), 0); | ^~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1722 | { \ | ^ xslt_stylesheet.c:148:39: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 148 | paramobj = rb_funcall(paramobj, rb_intern("to_a"), 0); | ^~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1727 | } | ^ xslt_stylesheet.c:148:39: note: ')' token is here 148 | paramobj = rb_funcall(paramobj, rb_intern("to_a"), 0); | ^~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ xslt_stylesheet.c:149:39: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 149 | paramobj = rb_funcall(paramobj, rb_intern("flatten"), 0); | ^~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ xslt_stylesheet.c:149:39: note: '{' token is here 149 | paramobj = rb_funcall(paramobj, rb_intern("flatten"), 0); | ^~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1722 | { \ | ^ xslt_stylesheet.c:149:39: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 149 | paramobj = rb_funcall(paramobj, rb_intern("flatten"), 0); | ^~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1727 | } | ^ xslt_stylesheet.c:149:39: note: ')' token is here 149 | paramobj = rb_funcall(paramobj, rb_intern("flatten"), 0); | ^~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ xslt_stylesheet.c:176:58: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 176 | parse_error_occurred = (Qfalse == rb_funcall(errstr, rb_intern("empty?"), 0)); | ^~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ xslt_stylesheet.c:176:58: note: '{' token is here 176 | parse_error_occurred = (Qfalse == rb_funcall(errstr, rb_intern("empty?"), 0)); | ^~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1722 | { \ | ^ xslt_stylesheet.c:176:58: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 176 | parse_error_occurred = (Qfalse == rb_funcall(errstr, rb_intern("empty?"), 0)); | ^~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1727 | } | ^ xslt_stylesheet.c:176:58: note: ')' token is here 176 | parse_error_occurred = (Qfalse == rb_funcall(errstr, rb_intern("empty?"), 0)); | ^~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ xslt_stylesheet.c:206:37: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 206 | VALUE methods = rb_funcall(obj, rb_intern("instance_methods"), 1, args); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ xslt_stylesheet.c:206:37: note: '{' token is here 206 | VALUE methods = rb_funcall(obj, rb_intern("instance_methods"), 1, args); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1722 | { \ | ^ xslt_stylesheet.c:206:37: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro] 206 | VALUE methods = rb_funcall(obj, rb_intern("instance_methods"), 1, args); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE' 1730 | #define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE' 1727 | } | ^ xslt_stylesheet.c:206:37: note: ')' token is here 206 | VALUE methods = rb_funcall(obj, rb_intern("instance_methods"), 1, args); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern' 1737 | __extension__ (CONST_ID_CACHE((ID), (str))) : \ | ^ xslt_stylesheet.c:217:21: error: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] 217 | Data_Get_Struct(ctxt->style->_private, nokogiriXsltStylesheetTuple, | ^~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1205:41: note: expanded from macro 'Data_Get_Struct' 1205 | ((sval) = (type*)rb_data_object_get(obj)) | ^~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1397:26: note: passing argument to parameter 'obj' here 1397 | rb_data_object_get(VALUE obj) | ^ xslt_stylesheet.c:230:21: error: incompatible pointer to integer conversion passing 'void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] 230 | Data_Get_Struct(ctxt->style->_private, nokogiriXsltStylesheetTuple, | ^~~~~~~~~~~~~~~~~~~~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1205:41: note: expanded from macro 'Data_Get_Struct' 1205 | ((sval) = (type*)rb_data_object_get(obj)) | ^~~ /Users/div927/.rbenv/versions/2.3.3/include/ruby-2.3.0/ruby/ruby.h:1397:26: note: passing argument to parameter 'obj' here 1397 | rb_data_object_get(VALUE obj) | ^ 8 warnings and 2 errors generated. make: *** [xslt_stylesheet.o] Error 1 make failed, exit code 2 Gem files will remain installed in /Users/div927/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/nokogiri-1.6.8.1 for inspection. Results logged to /Users/div927/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-24/2.3.0-static/nokogiri-1.6.8.1/gem_make.out
Duplicate of sparklemotion/nokogiri#3313