In this function:
long double sinhl(long double x)
there is a call to fabs:
(fabs (x) > (MAXLOGL + LOGE2L)))
However, fabs doesn't take a (long double), it only takes a (double).
Clang complains about the truncation (warning: absolute value function
'fabs' given an argument of
To my surprise, these two statements have (slightly) different meanings:
STDAPI MFUnregisterPlatformFromMMCSS ();
STDAPI MFUnregisterPlatformFromMMCSS (void);
And clang complains about it (warning: function with no prototype cannot
use the stdcall calling convention).
I have added 'void'
Under certain circumstances, the #pragma pop_macro("__has_builtin") at
the bottom of intrin-impl.h can be called without ever having hit the
#pragma push_macro("__has_builtin") at the top. Clang warns about this,
so I have moved the push appropriately.
Patch attached.
dw
diff --git
To get this error, I have to have a line like:
#define _FILE_OFFSET_BITS
_FILE_OFFSET_BITS should either be undefined, or be set to 32 or 64 (see
https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html).
'Blank' is not a valid setting.
I'm not sure where this is happening