The new claws-mail (v3.3.0) would not compile on sxde4. The former did
compile OK on sxde3. Looking at the errors I found out it is some
warning in /usr/include/sys/feature_tests.h that made the compile
process stop. After removing the "warning" part claws-mail compiled
well and also functions perfectly. I did not use the sun compiler
(would not work), but hte gcc from sxde4.
Now I wonder what I have done. Is it bad or what? The part from the
warning file follows:

####=== /usr/include/sys/feature_tests.h ===
/*
 * It is invalid to compile an XPG3, XPG4, XPG4v2, or XPG5 application
 * using c99.  The same is true for POSIX.1-1990, POSIX.2-1992, POSIX.1b,
 * and POSIX.1c applications. Likewise, it is invalid to compile an XPG6
 * or a POSIX.1-2001 application with anything other than a c99 or later
 * compiler.  Therefore, we force an error in both cases.
 */
/*
 * #if defined(_STDC_C99) && (defined(__XOPEN_OR_POSIX) && !defined(_XPG6))
 * #error "Compiler or options invalid for pre-UNIX 03 X/Open applications \
 *      and pre-2001 POSIX applications"
 * #elif !defined(_STDC_C99) && \
 *      (defined(__XOPEN_OR_POSIX) && defined(_XPG6))
 * #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001 applications \
 *      require the use of c99"
 * #endif
 */
/*

##########

Any ideas, advice, knowledge welcome.

-- 
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
++ http://nagual.nl/ + SunOS sxde 01/08 ++

Reply via email to