From -1952160010441309791
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,a7bb6560624ae2c1
X-Google-Attributes: gidf78e5,public
From: "James Russell Kuyper Jr." <kuyper@wizard.net>
Subject: Re: More M$ Not Conforming points...
Date: 1999/08/25
Message-ID: <37C32417.3BA95A0D@wizard.net>#1/1
X-Deja-AN: 517130848
Content-Transfer-Encoding: 7bit
Approved: Fergus Henderson <fjh@cs.mu.oz.au>
References: <7ps1sg$dev$1@nnrp1.deja.com> <7pu4es$1mv3$1@news.hal-pc.org>
X-Original-Date: Tue, 24 Aug 1999 19:00:39 -0400
X-Accept-Language: en,de,es,ru
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: news@news.unimelb.edu.au
X-Trace: izvestia.its.unimelb.edu.au 935607770 3065 128.250.29.17 (25 Aug 1999 19:02:50 GMT)
Organization: Not Enough
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUAN8Q9xOEDnX0m9pzZAQEOogF/ZOoD3tDEYMn0wHjl5Zowr8b8FiPh8OzD qjRLDVVTGyM2vAsupZSOnMZCVMhuhyhP =PgkB
Mime-Version: 1.0
NNTP-Posting-Date: 25 Aug 1999 19:02:50 GMT
Newsgroups: comp.std.c++

Greg Brewer wrote:
> 
> <whbloodworth@my-deja.com> wrote in message
> news:7ps1sg$dev$1@nnrp1.deja.com...
....
> > int main (void) { }
> > VC++ produces the following warning:
> > warning C4508: 'main' : function should return a value; 'void' return
> > type assumed
> >
> > "void return type assumed" ???? What ? void assumed?
> 
> This warning is no different than any other function without a return.  I
> think you will find that if you change it to
>    void main(void) {}
> it will compile without any complaints.

Which would be yet another problem with the compiler.
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]



