On 2-Jun-08, at 5:24 PM, Jeff Ye wrote: > 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:
Which compiler are you using? Anyway, thanks. I'll fix that. > > > 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. > > thanks, > > Jeff Ye > > > > > _______________________________________________ > cURLpp mailing list > [email protected] > http://www.rrette.com/mailman/listinfo/curlpp _______________________________________________ cURLpp mailing list [email protected] http://www.rrette.com/mailman/listinfo/curlpp
