Top "Linker-warning" questions

Messages emitted by a linker which indicate potential problems in code or (more often) configuration.

LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification

I recently converted a multi-project Visual Studio solution to use .dlls instead of .libs for each of the projects. However, …

c++ visual-studio dll linker linker-warning
Apple Mach-O Linker Warning "Directory Not Found For Option..."

I simply want to rid of the warnings that pop up like these: ld: warning: directory not found for option …

ios objective-c linker-errors linker-warning
'LIBCMT' conflicts with use of other libs + unresolved external symbols

I have a program using OpenGL 3.2(+libs) and FreeType2. Then an other program with Boost and OpenSSL. The OpenGL side …

c++ visual-studio-2010 linker-errors unresolved-external linker-warning
unused DT entry: type 0x1d arg

I am using android NDK-r10d to build Android x86 executable (shared linking) that runs on adb shell. On run …

android-ndk shared-libraries android-x86 linker-warning
How to suppress `warning: linking against dylib not safe for use in application extensions`?

I have a dynamic framework that is shared between an iOS application and an extension. There is some code in …

ios ios-frameworks linker-warning ios-extensions
ld: warning: text-based stub file are out of sync. Falling back to library file for linking

When I am trying to sourceCpp, it gives a warning: ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/…

r xcode macos rcpp linker-warning
visual studio linker warning LNK4098

I have a dll project in which, when in Release configuration I build the project, I get the following warning: …

c++ linker-warning
Linker warnings while building application against mysql-connector-c/libmysqlclient/mysql C API

I am trying to build mysql-connector-c from source(per instructions here) and statically link against the library in my application. …

mysql gcc linker mysql-connector linker-warning
How do you suppress GCC linker warnings?

I've been on a crusade lately to eliminate warnings from our code and have become more familiar with GCC warning …

gcc warnings suppress-warnings linker-warning
Header Guards and LNK4006

I have a character array defined in a header //header.h const char* temp[] = {"JeffSter"}; The header if #defined guarded …

c++ linker-warning