Bug #45318 | Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:" | ||
---|---|---|---|
Submitted: | 4 Jun 2009 0:50 | Modified: | 6 Jul 2009 11:02 |
Reporter: | Chung Il Lee | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: C API (client library) | Severity: | S3 (Non-critical) |
Version: | OS: | Windows | |
Assigned to: | CPU Architecture: | Any |
[4 Jun 2009 0:50]
Chung Il Lee
[4 Jun 2009 1:09]
Vladislav Vaintroub
It looks like you're trying to link both with static and dynamic libraries. Any specific reason for that? Also , using static libraries with a different compiler that the compiler that was used to build the lib is almost always guaranteed to fail. Even different version of the same compiler is problematic.
[4 Jun 2009 1:16]
Vladislav Vaintroub
To clarify the last comment : /DEFAULTLIB is a directive that is Visual Studio specific. It is added by the compiler if source contains #pragma comment(linker,"/DEFAULTLIB:something") It is meant to be processed by the microsoft linker when creating final executable - microsoft linker understands the directive. MinGW does not understand it
[4 Jul 2009 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[6 Jul 2009 11:02]
Vladislav Vaintroub
On Windows, we only support Visual Studio compiler at the moment. Users that need static linking need to use Visual Studio compiler .MinGW users need to link with dynamic library.