servkey / twitcurl

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

twitcurl cannot be compiled on Linux #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download sources from SVN
2. Copy Makefile from SVN
2. Go into twitcurl-read-only directory
3. Type "make"
You got this output:
g++ -Wall -fPIC -c -I/usr/include twitcurl.cpp
twitcurl.h: In constructor ‘twitCurl::twitCurl()’:
twitcurl.h:190: warning: ‘twitCurl::m_twitterPassword’ will be initialized 
after
twitcurl.h:175: warning:   ‘std::string twitCurl::m_callbackData’
twitcurl.cpp:13: warning:   when initialized here
twitcurl.h:186: warning: ‘twitCurl::m_proxyPassword’ will be initialized 
after
twitcurl.h:183: warning:   ‘std::string twitCurl::m_proxyServerIp’
twitcurl.cpp:13: warning:   when initialized here
twitcurl.h:184: warning: ‘twitCurl::m_proxyServerPort’ will be initialized 
after
twitcurl.h:178: warning:   ‘bool twitCurl::m_curlProxyParamsSet’
twitcurl.cpp:13: warning:   when initialized here
twitcurl.cpp: In member function ‘void 
twitCurl::clearCurlCallbackBuffers()’:
twitcurl.cpp:1335: error: ‘memset’ was not declared in this scope
make: *** [target] Error 1

What is the expected output? What do you see instead?
Library should compile.

What version of the product are you using? On what operating system?
SVN version from date 9.6. 2010 on Gentoo Linux 2.6.32-gentoo-r7, using g++ 
compiler.

Please provide any additional information below.

I've made a diff file (diff newversion oldversion) to create a patch, now it 
compiles well on Linux, too.

Original issue reported on code.google.com by michal.s...@gmail.com on 9 Jun 2010 at 2:15

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by swatkat....@gmail.com on 6 Mar 2011 at 3:57