Since I have upgraded to gcc 4.6, I get errors when compiling my sfml project. For example:
/usr/include/SFML/System/ResourcePtr.inl:31: error: ‘NULL’ was not declared in this scope
I looked this up and it seems that in gcc 4.6 STL headers don't include <cstddef> any longer.
I could manually work around this by adding "#include <cstddef>" to ResourcePtr.inl myself but I hope there is a better way than that.
Is anyone else using gcc 4.6 getting this problem?