[wplug] Compile Errors

Robert Dale rdale at wplug.org
Sun Jan 14 22:19:49 EST 2001


This is getting pretty ridiculous.  Not only is this not linux related,
but it's not even being compiled on linux!  There are billions of C++
resources available elsewhere.  http://www.google.com/search?q=c%2B%2B

Please, you have each other's email address, continue this privately.
Thank you.

On Sun, 14 Jan 2001, Brad Hoover wrote:

> Hello,
> 
> As Mike asked for, here are the errors I get when
> compiling:
> 
> Compiling...
> main.cpp
> C:\PROGRAM FILES\MICROSOFT VISUAL
> STUDIO\MyProjects\person\main.cpp(6) : error C2628:
> 'person' followed by 'int' is illegal (did you forget
> a ';'?)
> C:\PROGRAM FILES\MICROSOFT VISUAL
> STUDIO\MyProjects\person\main.cpp(10) : error C2664:
> 'setname' : cannot convert parameter 1 from 'char [2]'
> to 'char'
>         This conversion requires a reinterpret_cast, a
> C-style cast or function-style cast
> C:\PROGRAM FILES\MICROSOFT VISUAL
> STUDIO\MyProjects\person\main.cpp(15) : error C2664:
> 'setname' : cannot convert parameter 1 from 'char [2]'
> to 'char'
>         This conversion requires a reinterpret_cast, a
> C-style cast or function-style cast
> C:\PROGRAM FILES\MICROSOFT VISUAL
> STUDIO\MyProjects\person\main.cpp(20) : error C2664:
> '__thiscall person::person(const class person &)' :
> cannot convert parameter 1 from 'const int' to 'const
> class person &'
>         Reason: cannot convert from 'const int' to
> 'const class person'
>         No constructor could take the source type, or
> constructor overload resolution was ambiguous
> Error executing cl.exe.
> 
> main.obj - 4 error(s), 0 warning(s)
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail. 
> http://personal.mail.yahoo.com/
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
> 

-- 
Robert Dale

		Vive le wplug!






More information about the wplug mailing list