Skip to content

Release 1.2.0 // unable to compile with MSVS 2015 / CMake #163

@snikulov

Description

@snikulov

MSVS 2015 compilation error

C:\WORK\GitHub\log4cplus\include\log4cplus/internal/socket.h(88): error C3861: FreeAddrInfoW: identifier not found

The problem is related to https://github.com/log4cplus/log4cplus/blob/REL_1_2_0/CMakeLists.txt#L73

set(_WIN32_WINNT 0x0500 CACHE STRING "Define Windows API version to use.")

Must be at least 0x0502, because this function available in Windows XP SP 2.

Or greater (Vista - 0x0600) as on master branch

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions