[Bug 21325] New: aclocal.m4's main prototype is incorrect

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jan 11 02:41:50 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=21325

           Summary: aclocal.m4's main prototype is incorrect
           Product: Wine
           Version: unspecified
          Platform: x86-64
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: build-env
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: lessen42+wine at gmail.com


Created an attachment (id=25662)
 --> (http://bugs.winehq.org/attachment.cgi?id=25662)
fix aclocal.m4's main prototype

aclocal.m4 uses "int main(int argc, char *argv[]" as the prototype for main for
various tests. However, the [] isn't quoted/escaped/whatever properly and is
discarded by autotools, leaving "int main(int argc, char *argv" in configure.

clang treats this invalid main prototype as a hard error, so these configure
tests fail.

Attached patch fixes it.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list