Project

General

Profile

Actions

Bug #5878

closed

Cannot build in C++17 mode

Added by Egor Pugin over 7 years ago. Updated over 7 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.

Actions #1

Updated by Roel Standaert over 7 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.

Actions #2

Updated by Roel Standaert over 7 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)

Actions #3

Updated by Roel Standaert over 7 years ago

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

Also available in: Atom PDF