Hi Andrew,

Sorry - I forgot to count the lines in the GPL notice...

The error you're seeing refers to the return type of
requestAddressChangeEvents(), which should be void, but which isn't
specified at all in the current VNC Free Edition codebase.  More lenient
compilers will therefore assume it should return an int, whereas C++ 2005
won't.

Regards,

Wez @ RealVNC Ltd.
 

> -----Original Message-----
> From: Andrew Zirkel [mailto:[EMAIL PROTECTED] 
> Sent: 24 March 2006 15:26
> To: James Weatherall
> Subject: Re: Visual C++ 2005 express - missing type
> 
> Line 41 starts with:
> static requestAddressChangeEvents(network::SocketListener* sock_) {
> 
> I'm pretty sure I'm using 4.1.1, the file I downloaded is vnc-4_1_1- 
> winsrc.zip
> 
> Thanks,
> Andy.
> 
> On Mar 24, 2006, at 5:35 AM, James Weatherall wrote:
> 
> > Hi Andy,
> >
> > Which version of the VNC Free Edition source code are you working  
> > from?  In
> > the latest release (VNC Free Edition 4.1.1), line 41 of
> > win/rfb_win32/SocketManager.cxx isn't the start of a function!
> >
> > Regards,
> >
> > Wez @ RealVNC Ltd.
> >
> >
> >> -----Original Message-----
> >> From: [EMAIL PROTECTED]
> >> [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Zirkel
> >> Sent: 24 March 2006 02:56
> >> To: [email protected]
> >> Subject: Visual C++ 2005 express - missing type
> >>
> >> I'm trying to get the latest version of the vnc source for
> >> windows to
> >> compile in Visual C++ 2005 and get the following error in
> >> SocketManager.cxx on line 41, "Missing type specifier - int
> >> assumed".  Line 41 starts a function and the pointer passed is of
> >> type network::SocketListener.  Is there a library I'm missing?  The
> >> docs meantion that 2005 express doesn't assume int when there is no
> >> type, but the type is defined here.
> >>
> >> Thanks for your time.
> >> Andy.
> >> _______________________________________________
> >> VNC-List mailing list
> >> [email protected]
> >> To remove yourself from the list visit:
> >> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to