You receive the linker tools warning "LNK4221" message when you try to add resources to a static library (815773)
The information in this article applies to:
- Microsoft Visual C++ 2005 Express Edition
- Microsoft Visual C++ .NET (2003)
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual C++ Standard Edition, version 6.0
SUMMARYThis article discusses the Linker Tools Warning LNK4221 message. This warning occurs when you try to add resources to a static
library. The linker tries to add resources in a publicly accessible way. However, the linker fails and you receive the following warning message: warning LNK4221: no
public symbols found; archive member will be inaccessible An object file was added to an archive library that has no public symbols. The
object is not accessible by using subsequent linker commands.
Modification Type: | Major | Last Reviewed: | 1/5/2006 |
---|
Keywords: | kbResource kbCompiler kbinfo KB815773 kbAudDeveloper |
---|
|