johnson-pkt / twitcurl

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

Missing string.h Required (gcc) #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Attempt to compile twitcurl.cpp on a Linux system with gcc:
paracelsus@anduril:~/twitcurl-read-only$ g++ -I
"/home/paracelsus/twitcurl-read-only" -o twitcurl twitcurl.cpp
2. Corrected by adding #include "string.h" to twitcurl.cpp
3.

What is the expected output? What do you see instead?

twitcurl.cpp: In member function ‘void 
twitCurl::clearCurlCallbackBuffers()’:
twitcurl.cpp:1335: error: ‘memset’ was not declared in this scope
paracelsus@anduril:~/twitcurl-read-only$ vim +1335 twitcurl.cpp

What version of the product are you using? On what operating system?

gcc version 4.4.1
Ubuntu Karmic, x86

Please provide any additional information below.

Original issue reported on code.google.com by relative...@gmail.com on 14 Mar 2010 at 3:06

GoogleCodeExporter commented 8 years ago
Mahesh has kindly pointed out that a makefile for Linux exists in the SVN 
branches.
Also available there are versions of the header and twitcurl.cpp files which 
include
the required strings.h file. I had not trouble compiling using these files and 
the
makefile provided worked fine for me.

http://code.google.com/p/twitcurl/source/browse/#svn/branches/libtwitcurl

Cheers,
Pete

Original comment by relative...@gmail.com on 16 Mar 2010 at 9:39

GoogleCodeExporter commented 8 years ago
Thanks! Updated Wiki page with this info:
http://code.google.com/p/twitcurl/wiki/WikiHowToUseTwitcurlLibrary

Original comment by swatkat....@gmail.com on 1 Apr 2010 at 5:23

GoogleCodeExporter commented 8 years ago

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