Index: /trunk/FACT++/src/Main.h
===================================================================
--- /trunk/FACT++/src/Main.h	(revision 12782)
+++ /trunk/FACT++/src/Main.h	(revision 12783)
@@ -92,6 +92,9 @@
 
         const string pname = path.parent_path().string();
+#if BOOST_VERSION < 104700
         const string fname = path.filename();
-
+#else
+        const string fname = path.filename().string();
+#endif
         const Time now;
         io_service.Write(now, "/----------------------- Program ------------------------");
