[Compbench-devel] CompBenchmarks++/libcompbenchmarks/Compiler Compiler-Options.cpp, 1.3, 1.4
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-05-23 18:24:07
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Compiler In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv25975 Modified Files: Compiler-Options.cpp Log Message: Fix in option handling (for compilation and related context updates). Index: Compiler-Options.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Compiler/Compiler-Options.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Compiler-Options.cpp 17 May 2007 14:31:13 -0000 1.3 --- Compiler-Options.cpp 23 May 2007 18:24:03 -0000 1.4 *************** *** 22,26 **** while (o!="") { o=cbmSystem->Split(_options, " ", i++); ! if (o=="") { add(o); } --- 22,29 ---- while (o!="") { o=cbmSystem->Split(_options, " ", i++); ! if ((o=="") && (i==1)) { ! add(_options); ! } ! if (o!="") { add(o); } |