PkgDecrypt icon indicating copy to clipboard operation
PkgDecrypt copied to clipboard

Implicit declaration of function.

Open ickystasis opened this issue 7 years ago • 2 comments

Sorry if this is an error on my side, I don't think it is but I'm probably not the right person to be messing with this stuff.

image

ickystasis avatar Sep 21 '17 08:09 ickystasis

double min(double a, double b) { return a<b ? a : b; }

D-Pyro avatar Sep 21 '17 13:09 D-Pyro

There is no need to define a function with variable casting etc...

The "standard" way of doing this is just add this line under #include lines: #define min(X,Y) (((X) < (Y)) ? (X) : (Y))

MarvinOl avatar Sep 22 '17 06:09 MarvinOl