Jeff Ye pisze: > Hi, I tried to build cURLpp 0.7.2 on Fedora 9. But looks like missing > some includes in the source file. I am not sure this bug is platform > related or not. So I just list them here: > > 1. LifetimeWithLongevity.hpp: missing #include <algorithm>, which makes > compiler complaining about "upper_bound" function > in LifetimeWithLongevity.inl. > > 2. CurlHandle.cpp: missing #include <cstring>, which makes compiler > complaining about "memset" function. > > 3. cURLpp.cpp: missing #include <cstdlib>, which makes compiler > complaining about "free" function. > > 4. example02.cpp: missing #include <string>, which makes compiler > complaining about "strncpy" function. > > 5. example05.cpp: missing #include <string>, which makes compiler > complaining about "memcpy" function. > > 6. example06.cpp: missing #include <string>, which makes compiler > complaining about "memcpy" function. > > 7. example10.cpp: missing #include <cstdlib>, which makes compiler > complaining about 'EXIT_FAILURE' value. > > 8. example11.cpp: missing #include<cstring>, which makes compiler > complaining about ‘strerror’ function. > > 9. example13.cpp: missing #include <cstdlib>, which makes compiler > complaining about 'EXIT_FAILURE' value. Line 38, 63: new gcc compiler > seems need a space between ; and while loop. > > 10. example14.cpp: same as (9). Line 62, 97. > > 11. example21.cpp: missing #include <string>, which makes compiler > complaining about "strncpy" function. >
Hi, these are basic include files from STL. Are you sure you`ve got g++ installed properly (with all standard includes) ? _______________________________________________ cURLpp mailing list [email protected] http://www.rrette.com/mailman/listinfo/curlpp
