Project

General

Profile

Bug #5878

Cannot build in C++17 mode

Added by Egor Pugin almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
08/16/2017
Due date:
% Done:

0%

Estimated time:

Description

Hi,

Build is broken in C+17 mode with released VS 15.3 (/std:c+17) (tested on wt4).

Wt/Http/Request:31

struct ci_comp : std::binary_function<std::string, std::string, bool>{

Temporary workaround for this case is to use _HAS_AUTO_PTR_ETC=1 with MSVC, but I'm not sure if gcc/clang allow us to use older stuff.

See this paper:

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4190.htm

Appreciate if this could be done in 4.0.

#1

Updated by Roel Standaert almost 5 years ago

  • Status changed from New to Implemented @Emweb

Looks like that code is totally unused anyway. It's a leftover from something. I completely removed it.

#2

Updated by Roel Standaert almost 5 years ago

  • Status changed from Implemented @Emweb to Resolved

Marking as resolved because I removed the code in master (still have to merge it into the Wt 4 branch)

#3

Updated by Roel Standaert almost 5 years ago

  • Status changed from Resolved to Closed
  • Target version changed from 4.0.0 to 3.3.8

Also available in: Atom PDF