Skip to content

build Poco Net failed MinGW [TIMESTAMP_REQUEST enum vs macro] #2967

@sk-landry

Description

@sk-landry

Good morning,

I'm building POCO from Github's master branch. (commit = 3fc3e5f)
I use MinGW 7.3 32bits bundled in QT. I am on Windows 10.
The build of POCO NET failed because of the enum TIMESTAMP_REQUEST define in ICMPv4PackekImpl.h

enum MessageType
{
TIMESTAMP_REQUEST ,
};

The error indicates that there is a macro TIMESTAMP_REQUEST define somewhere, I don't know where but it is causing a conflict

My solution was to rename the enum from TIMESTAMP_REQUEST to simply TIMESTAMP.

For information, I've previously built POCO 1.9.0-release without any issues with the same environment.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions