drogonframework / drogonframework/drogon

MSVC 2022 error C2039 'stream': is not a member of 'trantor::Logger' in file HttpServer.cc line 511

Open
#2,108 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
14.3k
Forks
1.4k
Avg merge
1d 13h
Merged PRs (30d)
14

Description

I'm trying to complie drogon latest version with latest trantor in MSVC 2022, in file HttpServer.cc line 511 have error
C2039 'stream': is not a member of 'trantor::Logger'

LOG_DEBUG << "Stop processing request due to stream error";
in same file have this line
LOG_TRACE << "Wait for request stream finish";

but VS not claim that is an error, it very strange issue.

please help me to check this issue,
Thank you.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.