Skip to content

installation help on MacOS Sonoma, ruby 2.7.5. #3152

Discussion options

You must be logged in to vote

Hi @mgurican, thanks for asking this question.

From your log:

html_document.c:49:49: error: incompatible function pointer types passing 'void (void *, xmlErrorPtr)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
  xmlSetStructuredErrorFunc((void *)error_list, Nokogiri_error_array_pusher);
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/opt/libxml2/include/libxml2/libxml/xmlerror.h:898:29: note: passing argument to parameter 'handler' here
                                 xmlStructuredErrorFunc handler);
                 …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mgurican
Comment options

Answer selected by mgurican
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/installation Installation difficulties
2 participants
Converted from issue

This discussion was converted from issue #3149 on March 15, 2024 19:12.