Alright, I did some more digging in the STL and I finally found it. In the SVN version you have included SFML/Window/Window.hpp which in turn includes the 'queue' STL header which in turn includes 'functional', at least in STLPort.
In 1.2 you don't include Window.hpp so functional does not get included when I compile it.
Then I don't know if 'functional' is included in other headers or why it does compile with other STL implementations.
But 'functional' should be included anyway and takes care of the problem.