[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1573106 - /subversion/trunk/build/ac-macros/compiler.m4

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Sat, 01 Mar 2014 10:05:01 +0000

Branko Čibej <brane_at_wandisco.com> writes:

> On 28.02.2014 23:57, philip_at_apache.org wrote:
>> Author: philip
>> Date: Fri Feb 28 22:57:24 2014
>> New Revision: 1573106
>>
>> + AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(){return 0;}]])]
>
> This bit of source is not valid C90. It should be: int main(void){ ... }

I don't have a copy of the C90 standard but 'int main()' is used in some
of the examples in both the C99 and C++98 standards.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2014-03-01 11:05:50 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.