Actions
Bug #8467
closed[gcc11] Compilation error. Missing <limits> header
Start date:
05/05/2021
Due date:
% Done:
100%
Estimated time:
Description
src/Wt/Render/WTextRenderer.C
uses std::numeric_limits<double>::max()
but does not have #include <limits>
.
When executing: [org.sw.demo.emweb.wt.wt-4.5.0]/src/Wt/Render/WTextRenderer.C
D:/dev/swst/pkg/29/85/2c20/src/sdir/src/Wt/Render/WTextRenderer.C:235:16: error: no member named 'numeric_limits' in namespace 'std'
std::numeric_limits<double>::max(),
~~~~~^
D:/dev/swst/pkg/29/85/2c20/src/sdir/src/Wt/Render/WTextRenderer.C:235:37: error: expected '(' for function-style cast or type construction
std::numeric_limits<double>::max(),
~~~~~~^
D:/dev/swst/pkg/29/85/2c20/src/sdir/src/Wt/Render/WTextRenderer.C:235:40: error: no member named 'max' in the global namespace
std::numeric_limits<double>::max(),
~~^
Updated by Roel Standaert over 3 years ago
- Status changed from New to Resolved
- Target version set to 4.6.0
Updated by Roel Standaert over 3 years ago
- Target version changed from 4.6.0 to 4.5.1
Updated by Roel Standaert about 3 years ago
- Status changed from Resolved to Closed
Actions