This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
chrono.cc build failure in maintainer-mode
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: libstdc++ at gcc dot gnu dot org
- Cc: Paolo Carlini <paolo dot carlini at oracle dot com>
- Date: Tue, 3 Nov 2009 07:18:32 +0100
- Subject: chrono.cc build failure in maintainer-mode
I'm getting a build failure with --enable-maintainer-mode (which turns
on -Werror) on trunk:
cc1plus: warnings being treated as errors
../../../../gcc/libstdc++-v3/src/chrono.cc: In static member function âstatic std::chrono::system_clock::time_point std::chrono::system_clock::now()â:
../../../../gcc/libstdc++-v3/src/chrono.cc:56:40: error: suggest parentheses around â&&â within â||â
Aside, it seems weird that the compiler refers to && and || which do not
occur in chrono.cc. Wrong error location?
Should I open a PR?
Thanks,
Ralf