rdmenezes / wvstreams

Automatically exported from code.google.com/p/wvstreams
0 stars 0 forks source link

wvstreams build is broken with gcc 4.4 #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
with a fresh pull of wvstreams from the git repo I get the following after
running autogen.sh and configure:

./CXX -c utils/strutils   
utils/strutils.cc: In function 'WvString url_decode(const WvFastString&,
bool)':
utils/strutils.cc:332: error: invalid conversion from 'const char*' to 'char*'
utils/strutils.cc:333: error: invalid conversion from 'const char*' to 'char*'
utils/strutils.cc: In function 'WvString afterstr(const WvFastString&,
const WvFastString&)':
utils/strutils.cc:970: error: invalid conversion from 'const char*' to 'char*'
utils/strutils.cc: In function 'WvString beforestr(const WvFastString&,
const WvFastString&)':
utils/strutils.cc:988: error: invalid conversion from 'const char*' to 'char*'
make: *** [utils/strutils.o] Error 1

Original issue reported on code.google.com by j...@jue.li on 13 May 2009 at 9:11

GoogleCodeExporter commented 9 years ago
The attached patch should fix the issue, please test.

Original comment by wrl...@gmail.com on 19 May 2009 at 4:41

Attachments:

GoogleCodeExporter commented 9 years ago
hi, I'm running fedora 12 and tried to compile wvstreams and got the error 
below:

compiling utils/strutils.o...
utils/strutils.cc: In function ‘WvString web_unescape(const char*, bool)’:
utils/strutils.cc:322: error: invalid conversion from ‘const char*’ to 
‘char*’
utils/strutils.cc:323: error: invalid conversion from ‘const char*’ to 
‘char*’
utils/strutils.cc: In function ‘WvString afterstr(const WvFastString&, const
WvFastString&)’:
utils/strutils.cc:955: error: invalid conversion from ‘const char*’ to 
‘char*’
utils/strutils.cc: In function ‘WvString beforestr(const WvFastString&, const
WvFastString&)’:
utils/strutils.cc:973: error: invalid conversion from ‘const char*’ to 
‘char*’
make: *** [utils/strutils.o] Error 1

is this a similar error posted here?
how do I apply the patch (sorry, I'm newbie in linux )

Original comment by Deddy.Ta...@gmail.com on 27 Dec 2009 at 3:45