fix clang depracated finite

It has macros for isfinite, isnan, isinf.
\todo what about other platfoms, need to #define to std::
fix string format warging

format specifies type 'int' but the argument has type 'size_type'
remove generated data