gcc11 "error: 'max' was not declared in this scope; did you mean 'std::max'?" fix?
14 Jun
2021
14 Jun
'21
14:45
Hi all, is there a simple (probably means: additional CFLAG) solution to revert to the old behavior, or do I need to patch lots of packages with trivial +#include <algorithm> ... - int x = max(a, b); + int x = std::max(a, b); patches? Thanks, seife -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman
1262
Age (days ago)
1262
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stefan Seyfried