I am using Cmake and Ctest to try and test my code on Travis CI. If I use cmake to test locally I get no errors what so ever and I can make my tests. When running the test through Travis CI I get loads of errors such as this one:
error: no matching function for call to ‘std::basic_ifstream<char>::basic_ifstream(std::__cxx11::string&)’
ifstream myfile(filename);
The filename is a string. Is travis running a different version compiler to my local setup?