[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++ Blues.
Peter Breitling wrote:
> WareWolf wrote:
> > Looks like a compiler bug (the 2.7.x series of gcc had many serious
> > problems with C++). I don't have the C++ specs at hand, but I'm sure that
> > it's not that stupid ;)
>
> Perhaps it is???
>
> The same error occures with the visual C++ compiler v5.0 from microsoft:
> "error C2660: 'Meth' : function does not take 1 parameter"
>
> the SGI compiler CC (Iris 6.2):
> "error(3229): too many arguments in function call o2.Meth(2)"
>
> the HP-UX compiler CC (HP-UX B.10.20):
> "error: unexpected 1 argument for Class2::Meth() (1265)"
>
> Is this really a compiler bug?
..and the Watcom C++ 11 gives:
"class.cpp[21]:Error! E341:col[13] number of arguments for function
'Class2::Meth' is incorrect"
--
Hasse Schougaard
hasse@acid.brisnet.org.au