[Compbench-devel] CompBenchmarks++/libcompbenchmarks/Compiler Compiler-Options.cpp, 1.9, 1.10
Brought to you by:
xfred
|
From: Frederic T. <xf...@us...> - 2007-09-16 19:22:11
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Compiler In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv747 Modified Files: Compiler-Options.cpp Log Message: Message for option removing. Index: Compiler-Options.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Compiler/Compiler-Options.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Compiler-Options.cpp 16 Sep 2007 18:51:20 -0000 1.9 --- Compiler-Options.cpp 16 Sep 2007 19:22:03 -0000 1.10 *************** *** 111,114 **** --- 111,117 ---- std::vector<CBM::CompilerOption*> noptions; + int ok = 0; + + cbmUI->msgPlanOptionUnregister(_option->Option()); for(i=0;i<n;i++) { *************** *** 118,124 **** --- 121,132 ---- else { delete(O); + ok=1; } } options=noptions; + if (ok) + cbmUI->outputOK(); + else + cbmUI->outputKO(); } |