http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39730
Javier Cruz <javiercruz_94 at hotmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |javiercruz_94 at hotmail dot com --- Comment #2 from Javier Cruz <javiercruz_94 at hotmail dot com> --- Yo have to add the library fstream at the beginning. Example: #include <fstream> That will fix the problem =)