[rkward-cvs] SF.net SVN: rkward: [823] trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Sun Oct 8 15:42:02 UTC 2006
Revision: 823
http://svn.sourceforge.net/rkward/?rev=823&view=rev
Author: tfry
Date: 2006-10-08 08:41:58 -0700 (Sun, 08 Oct 2006)
Log Message:
-----------
Workaround for GCC bug
Modified Paths:
--------------
trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp
Modified: trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp
===================================================================
--- trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp 2006-10-06 12:04:53 UTC (rev 822)
+++ trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp 2006-10-08 15:41:58 UTC (rev 823)
@@ -163,7 +163,12 @@
if (install_dependencies) command_string += ", dependencies=TRUE";
command_string += ")\n";
- QFile file (QDir (RKSettingsModuleGeneral::filesPath ()).filePath ("install_script.R"));
+// TODO: won't work with some versions of GCC (which ones exactly)?
+// QFile file (QDir (RKSettingsModuleGeneral::filesPath ()).filePath ("install_script.R"));
+// WORKAROUND:
+ QDir dir = RKSettingsModuleGeneral::filesPath ();
+ QFile file (dir.filePath ("install_script.R"));
+// WORKADOUND END
if (file.open (IO_WriteOnly)) {
QTextStream stream (&file);
stream << "options (repos=" + repos_string + ")\n" + command_string;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list