autoconf-patches
[Top][All Lists]
Advanced

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

[Patch] Fix some main() return types


From: Marko Lindqvist
Subject: [Patch] Fix some main() return types
Date: Tue, 17 Jun 2008 22:14:11 +0300

 What is your policy about compiler warnings from successfully
completing autoconf tests? Attached patch fixes one such warning,
caused by having main() returning char instead of int.

 A couple of c.m4 macros declare function with return type char, and
then return same return value from main(). Attached patch translates
character from function into int 0 or 1 to be returned from main().


 - ML

Attachment: autoconf_mainreturn.diff
Description: Text Data


reply via email to

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