[Compbench-devel] CompBenchmarks++/libcompbenchmarks/Compiler Compiler-Options.cpp, 1.10, 1.11
Brought to you by:
xfred
|
From: Frederic T. <xf...@us...> - 2007-09-17 19:14:38
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Compiler In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv5402 Modified Files: Compiler-Options.cpp Log Message: Compiler(s) must be registered in Batch before related compilation options. Index: Compiler-Options.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Compiler/Compiler-Options.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Compiler-Options.cpp 16 Sep 2007 19:22:03 -0000 1.10 --- Compiler-Options.cpp 17 Sep 2007 19:14:32 -0000 1.11 *************** *** 65,68 **** --- 65,71 ---- int ok = 0; + if (!_batch->compilerNumber()) { + return("Please, add compilers in batch before adding options."); + } if (rin=="1\n") return("1\n"); |