List:MySQL++« Previous MessageNext Message »
From:Daniel Date:September 13 2004 9:01pm
Subject:Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15
View as plain text  
Thank you very much for the fast replies!

> > The FLTK faq says fltk really should be generated using Multithreaded DLL,
> 
> So rebuild mysql++ with the same settings as fltk.

That is what we suspected from the beginning, so we did just that; compiled it
with Multithreaded DLL. However, when compiling our own project with the fltk
libraries included, the linker errors occured. When looking into solving them
the MSDN libraries actually helped! The solution was to ignore all the stdc
libraries but the one we were using (msvcrt.lib). The error is LNK4098. To
clarify, this was actually just given as a warning and the program actually
compiled, but with an immediate crash upon execution of a connection.
Now there's just one thing left that is worrying us. When compiling the
mysql++ lib with the multithreaded dll library, we get these three warnings:

c:\src\mysql++-1.7.15\sqlplusint\convert1.hh(21) : warning C4273: 'strtod' :
inconsistent dll linkage
c:\src\mysql++-1.7.15\sqlplusint\convert1.hh(38) : warning C4273: 'strtol' :
inconsistent dll linkage
c:\src\mysql++-1.7.15\sqlplusint\convert1.hh(39) : warning C4273: 'strtoul' :
inconsistent dll linkage

Is this something we should worry about, and is there a way to solve it?
Thread
Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Daniel10 Sep
  • Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Warren Young10 Sep
    • Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Daniel11 Sep
      • Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Thomas Werth13 Sep
      • Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Warren Young13 Sep
        • Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Daniel13 Sep
          • Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Warren Young13 Sep
            • Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Daniel14 Sep
              • Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Warren Young14 Sep