]> git.tdb.fi Git - builder.git/blobdiff - source/gnucxxcompiler.cpp
Remove a stray old #include
[builder.git] / source / gnucxxcompiler.cpp
index 0601fc29c5f596fbf1a99d1956450ad13ca10abd..3e0a4b87fae698ca248c345db05360c9bb306e07 100644 (file)
@@ -34,8 +34,7 @@ GnuCxxCompiler::GnuCxxCompiler(Builder &b):
                                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;
                                }
@@ -52,3 +51,8 @@ Target *GnuCxxCompiler::create_source(const Component &comp, const FS::Path &pat
 {
        return new CSourceFile(builder, comp, path);
 }
+
+Target *GnuCxxCompiler::create_source(const FS::Path &path) const
+{
+       return new CSourceFile(builder, path);
+}