Closed magicse closed 7 months ago
As far as I'm aware, there is no max or min function in the C or GNU standard libraries. There is fmax/fmin. For correct compiling with MINGW (Windows) could we replace max() and min() with fmax() and fmin() with #include ? I try it by myself and it work good. The min/max problem in C++ and Windows MinGW error: 'min' is not a member of 'std' Undefined reference to min max() or min() functions
As far as I'm aware, there is no max or min function in the C or GNU standard libraries. There is fmax/fmin. For correct compiling with MINGW (Windows) could we replace max() and min() with fmax() and fmin() with #include?
I try it by myself and it work good.
The min/max problem in C++ and Windows
MinGW error: 'min' is not a member of 'std'
Undefined reference to min
max() or min() functions