Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.28
    • Fix Version/s: 5.5.28a
    • Component/s: None
    • Labels:
      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

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            wlad Vladislav Vaintroub added a comment -

            need a full story.

            The minimal example

            #include <mysql.h>

            int main()
            {
            return 0;
            }

            passes for me

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

            Simple C++ DLL VS2010

            Show
            oxoocoffee Robert J. Gebis added a comment - Simple C++ DLL VS2010
            Hide
            wlad Vladislav Vaintroub added a comment -

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

            Show
            wlad Vladislav Vaintroub added a comment - the installation folder issue is not fixed. There is probably no big harm compared to thw
            Hide
            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

            Show
            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

              • Assignee:
                wlad Vladislav Vaintroub
                Reporter:
                serg Sergei Golubchik
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours
                  6h