FS::Path cxx_path = FS::Path("/usr/include/c++")/cxx_ver;
if(FS::is_dir(cxx_path))
{
- if(builder.get_verbose()>=5)
- IO::print("%s version is %s\n", name, cxx_ver);
+ builder.get_logger().log("tools", format("%s version is %s", name, cxx_ver));
system_path.push_back(cxx_path);
break;
}
{
return new CSourceFile(builder, comp, path);
}
+
+Target *GnuCxxCompiler::create_source(const FS::Path &path) const
+{
+ return new CSourceFile(builder, path);
+}