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

Re: odd compiler behaviour?



On Fri, Mar 14, 2003 at 04:00:22PM +0000, Bruynooghe Floris wrote:
> I can't see why the second program fails to compile, as far as I would expect these programs are identical.
> Does anyone knows what goes wrong?
> 
> int main()

An addition to what everyone else said, this really should be 

int main(int argc, char** argv)

to truly satisfy the pedant within :)

-- 
Rob Weir <rweir@ertius.org>				http://ertius.org/

Attachment: pgpX1KRnCmmgH.pgp
Description: PGP signature


Reply to: