Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#9638 closed Bugs (duplicate)

boost_1_53_0/boost/chrono/duration.hpp:666:28: 'constexpr' non-static member function will not be implicitly 'const' in C++1y; add 'const' to avoid a change in behavior

Reported by: rmann@… Owned by:
Milestone: To Be Determined Component: None
Version: Boost 1.53.0 Severity: Problem
Keywords: Cc:

Description

Xcode 5.1b5 (Apple LLVM 5.1, clang-503.0.19)

boost_1_53_0/boost/chrono/duration.hpp:666:28: 'constexpr' non-static member function will not be implicitly 'const' in C++1y; add 'const' to avoid a change in behavior

This warning gets reported hundreds of times, as it appears in a header.

Attachments (1)

mypatch (890 bytes ) - added by rmann@… 9 years ago.
Patch that fixes the warning

Download all attachments as: .zip

Change History (3)

by rmann@…, 9 years ago

Attachment: mypatch added

Patch that fixes the warning

comment:1 by Marshall Clow, 9 years ago

Resolution: duplicate
Status: newclosed

This is a duplicate of bug #8604, and was fixed in boost 1.54.0

comment:2 by rmann@…, 9 years ago

Oh, sorry. I searched, but didn't find a bug.

Note: See TracTickets for help on using tickets.