# HG changeset patch # User unknown # Date 2010-05-03 16:56:11 # Node ID 0d09bc291a32b6569ec1bb271795b6412ffb7944 # Parent e73e7e444f1c135b98f238e92fd64e4f83abe79f fixed compiler for c++ diff --git a/std-script/compile b/std-script/compile --- a/std-script/compile +++ b/std-script/compile @@ -106,7 +106,7 @@ when "c++" command = "#{CPLUSPLUS_COMPILER} -E #{params[:source_file]} -o source_prep.cpp" system(command) - command = "#{CPLUSPLUS_COMPILER} #{redefine_str} #{params[:source_file]} -o #{params[:output_file]} #{CPLUSPLUS_OPTIONS} 2> #{params[:message_file]}" + command = "#{CPLUSPLUS_COMPILER} #{redefine_str} source_prep.cpp -o #{params[:output_file]} #{CPLUSPLUS_OPTIONS} 2> #{params[:message_file]}" system(command) when "pas"