This one doesn't compile on my computer:

error: cannot pass objects of non-trivially-copyable type ‘const struct std::basic_string<char>’ through ‘...’
warning: format ‘%s’ expects argument of type ‘char*’, but argument 8 has type ‘const std::basic_string<char>’ [-Wformat]