Package: autoconf Version: 2.59a-8 Severity: normal Hi,
With my current gcc (4.0.2-10), the following code: int main() { return 0; } Will warn: function declaration isn't a prototype if compiled with -Wstrict-prototypes. Since that is the signature for main which autoconf wraps its tests in when creating conftest.c -- then tests which should normally succeed, will fail if the language is C, and CPPFLAGS include -Wstrict-prototypes, and -Werror (the latter being my preferred habit for release builds). Hopefully this is as simple to fix as writing out one of the standard prototypes for the main function. If main(void) is no good for some reason, then main(int a,char **b) { (void)a; (void)b; } is a bit uglier to look at, but provides the right amount of realism for this to succeed in more cases where it should. Turning off useful compile time flags (that will actually be used at compile time) to make all the right tests succeed doesnt seem quite like the right answer otherwise.. cheers, Ron -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages autoconf depends on: ii debianutils 2.15.3 Miscellaneous utilities specific t ii m4 1.4.4-1 a macro processing language ii perl 5.8.8-2 Larry Wall's Practical Extraction Versions of packages autoconf recommends: ii automake1.7 [automaken] 1.7.9-7 A tool for generating GNU Standard ii automake1.9 [automaken] 1.9.6-3 A tool for generating GNU Standard -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]