-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Poco 1.4.6p2 Visual Studio
When I compile under Windows with VS I get following linker warnings:
2>SignalHandler.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
2>String.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
2>ByteOrder.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
SignalHandler
The reason is that SignalHandler is for POSIX only and so the cpp file is "empty".
But it is included in the VS project file.
A solution is to remove it from the VS project file.
String
String.cpp is only needed if POCO_NO_TEMPLATE_ICOMPARE is defined (e.g. needed for PA-RISC based HP-UX platforms)
Solution: ?
ByteOrder
String.cpp is empty.
It is not needed, or?
A Solution is delete ByteOrder.cpp.