GCC does not compile anymore

This is a discussion on GCC does not compile anymore within the Linux Programming forums, part of the Platform Specific Boards category; Hello,
I have written 2 programs with GCC and they worked. I upgraded to ubuntu 8.10 and reinstalled code:blocks. Now ...

To use strlen and memcpy, you need #include<cstring>; to use system you need #include <cstdlib>. That shouldn't have compiled previously, I don't think, as C++ (it might have compiled as straight C, except for the std::string part).