Opened 10 years ago
Closed 10 years ago
#6986 closed Bugs (fixed)
C++11 feature used unconditionally
Reported by: | Owned by: | Gennadiy Rozental | |
---|---|---|---|
Milestone: | To Be Determined | Component: | test |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | max_digits10 | Cc: |
Description
test/tools/impl.hpp line 92 uses std::numeric_limits<T>::max_digits10, a C++11 feature, without checking if it can be used. This results in compiler errors in gcc when -std=c++0x is not supplied.
Note:
See TracTickets
for help on using tickets.