From -7065977615532041629
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,a7bb6560624ae2c1
X-Google-Attributes: gidf78e5,public
From: Francis Glassborow <francis@robinton.demon.co.uk>
Subject: Re: More M$ Not Conforming points...
Date: 1999/08/25
Message-ID: <KhEHEaAWVyw3Ewnt@robinton.demon.co.uk>#1/1
X-Deja-AN: 517130849
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: Wed, 25 Aug 1999 00:05:58 +0100
X-Complaints-To: news@news.unimelb.edu.au
X-Trace: izvestia.its.unimelb.edu.au 935607829 1669 128.250.29.17 (25 Aug 1999 19:03:49 GMT)
Organization: Southfield Microcomputer SS
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUAN8Q9/+EDnX0m9pzZAQGFGAF9E5TR/64jf8xiJjbx22fSixAGr8li7orD 1NRWnizTuDSjEEWB0RVlU6Qalo91/K1Y =OlLg
Mime-Version: 1.0
Reply-To: Francis Glassborow <francisG@robinton.demon.co.uk>
NNTP-Posting-Date: 25 Aug 1999 19:03:49 GMT
Newsgroups: comp.std.c++

In article <7pu4es$1mv3$1@news.hal-pc.org>, Greg Brewer
<nospam.gregb@hal-pc.org> writes
>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.

Of course, but it will not be conforming C++.

Francis Glassborow      Journal Editor, Association of C & C++ Users
64 Southfield Rd
Oxford OX4 1PA          +44(0)1865 246490
All opinions are mine and do not represent those of any organisation
---
[ 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              ]



