Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5.28
    • 5.5.28a
    • None
    • None

    Description

      1

      An error (only with MariaDB, not with MySQL)

      c:\program files\microsoft sdks\windows\v7.0a\include\wspiapi.h(48): error C2894: templates cannot be declared to have 'C' linkage

      supposedly caused by our mysql_com.h including ws2tcpip.h. This only happens if the client does not include my_global.h before mysql.h

      2

      Headers are in C:\Program Files\MySQL\MySQL Server 5.5-MYSQL\include but in C:\Program Files\MySQL\MySQL Server 5.5-MariaDB\include\mysql

      Attachments

        Activity

          need a full story.

          The minimal example

          #include <mysql.h>

          int main()
          {
          return 0;
          }

          passes for me

          wlad Vladislav Vaintroub added a comment - need a full story. The minimal example #include <mysql.h> int main() { return 0; } passes for me

          Simple C++ DLL VS2010

          oxoocoffee Robert J. Gebis added a comment - Simple C++ DLL VS2010

          the installation folder issue is not fixed. There is probably no big harm compared to thw

          wlad Vladislav Vaintroub added a comment - the installation folder issue is not fixed. There is probably no big harm compared to thw

          no big harm compared to the traditional handling. Since there are no standard hardcoded include directories on Windows, we're unlikely to break existing code. Still would be nice of us to provide cmake module to find MariaDB/MySQL installations

          wlad Vladislav Vaintroub added a comment - no big harm compared to the traditional handling. Since there are no standard hardcoded include directories on Windows, we're unlikely to break existing code. Still would be nice of us to provide cmake module to find MariaDB/MySQL installations

          People

            wlad Vladislav Vaintroub
            serg Sergei Golubchik
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.