----- Original Message -----
From: "Ekkard Gerlach" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 7:04 PM
Subject: compiling x0rfbserver on Linux results errors /binaries not work
either


| Hello,
|
| gerlach@rex:~/tmp/rfb-0.1.2 > make
| [...]
| make[1]: Entering directory `/home/gerlach/tmp/rfb-0.1.2/x0rfbserver'
| g++ -DUSE_ZLIB_WARREN
`xc-config --cflags` -I../include -finline-functions -funroll-loops
| -O3 -Wall   -c -o $
| OXProperties.cc: In function `void writeProperties(char *, Properties &)':
| OXProperties.cc:81: passing `const char *' as argument 2 of
`OIniFile::PutItem(
|                   const char *, char *)' discards qualifiers

in void writeProperties( char *filename, Properties &properties )

change:
iniFile.PutItem( "SocketConnections", (properties.acceptSocketConnections?
"1":"0" );

with:
iniFile.PutItem( "SocketConnections",
(char*)(properties.acceptSocketConnections? "1":"0" ));

and repeat for every instance of iniFile.PutItem....


HTH,
Norberto
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to