Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-72

Project Does not Build on OS X 10.9

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • None
    • Mac OS X 10.9

    Description

      The below error is generated when building. I resolved it by completely commenting out lines 312-320 on my_pthread.h where #define sigset(A,B)
      was - looks like this section is getting macro expanded wrongly before the (line:390) #ifdef HAVE_DARWIN_THREADS section.

      /Users/cdev/mariadb-native-client/include/my_pthread.h:312:21: note: expanded from macro 'sigset'
      #define sigset(A,B) do { struct sigaction s; sigset_t set; \
      ^
      In file included from /Users/cdev/mariadb-native-client/libmysql/net.c:31:
      /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/signal.h:97:11: error: expected ')'
      /Users/cdev/mariadb-native-client/include/my_pthread.h:312:21: note: expanded from macro 'sigset'
      #define sigset(A,B) do { struct sigaction s; sigset_t set; \
      ^
      /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/signal.h:97:9: note: to match this '('
      void (*sigset(int, void (int)))(int);
      ^
      1 warning and 2 errors generated.

      Attachments

        Activity

          People

            georg Georg Richter
            rdemetr Robin Demetriades
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.