[Compbench-devel] CompBenchmarks++/libcompbenchmarks/Compiler Compiler-Options.cpp, 1.11, 1.12
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-09-20 19:28:26
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Compiler In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv14890 Modified Files: Compiler-Options.cpp Log Message: Fixes a bug when adding an option in a option group without a batch (only used by compbenchmark-core -B at this time). Index: Compiler-Options.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Compiler/Compiler-Options.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Compiler-Options.cpp 17 Sep 2007 19:14:32 -0000 1.11 --- Compiler-Options.cpp 20 Sep 2007 19:28:23 -0000 1.12 *************** *** 65,69 **** int ok = 0; ! if (!_batch->compilerNumber()) { return("Please, add compilers in batch before adding options."); } --- 65,69 ---- int ok = 0; ! if ((_batch) && (!_batch->compilerNumber())) { return("Please, add compilers in batch before adding options."); } |