Commit 5e356b15 authored by Michel Lespinasse's avatar Michel Lespinasse
Browse files

better TenDRA support

parent 147336b5
......@@ -97,6 +97,9 @@ if test x"$enable_warnings" != x"no" -a x"$GCC" = x"yes"; then
dnl compiler warnings
OPT_CFLAGS="$CFLAGS -Wall -Werror"
AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS])
elif test x"$CC" = x"tcc"; then
dnl TenDRA portability checking compiler
CFLAGS="$CFLAGS -DTenDRA_check"
fi
AC_C_ATTRIBUTE_ALIGNED
......
......@@ -21,8 +21,13 @@
#pragma TenDRA begin
#pragma TenDRA longlong type warning
#ifdef TenDRA_check
#pragma TenDRA conversion analysis (pointer-int explicit) off
#pragma TenDRA implicit function declaration off
/* avoid the "No declarations in translation unit" problem */
int TenDRA;
#endif /* TenDRA_check */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment