bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Gnupg 1.0.6 build fails with non-GCC compilers


From: tt
Subject: Gnupg 1.0.6 build fails with non-GCC compilers
Date: 05 Jul 2001 09:45:53 +0300
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

GnuPG 1.0.6 fails to build with HP-UX 11.11 and probably
every other system without GCC or with GCC older than 2.5.
Specifically, the problem is in include/ttyio.h:


#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 )
 void tty_printf (const char *fmt, ... ) __attribute__ ((format (printf,1,2)));
#else
 void tty_printf  const char *fmt, ... );
#endif


A left parentheses is missing in the #else part.
After adding that it compiled cleanly with HP's ANSI C.

-- 
Tapani Tarvainen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]