[Compbench-devel] CompBenchmarks++/compbenchmarks-plan cloptions.cpp, 1.9, 1.10
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-09-10 16:41:54
|
Update of /cvsroot/compbench/CompBenchmarks++/compbenchmarks-plan In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv18564 Modified Files: cloptions.cpp Log Message: API changes, due to SF's TID #141918: Plan and incompatible options. Index: cloptions.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/compbenchmarks-plan/cloptions.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** cloptions.cpp 21 Aug 2007 19:45:41 -0000 1.9 --- cloptions.cpp 10 Sep 2007 16:41:51 -0000 1.10 *************** *** 711,715 **** if (!OS) break; ! O=new CBM::CompilerOptions(optionsName, ""); if (OS->add(O)) { storePlan(P, planFileName); --- 711,715 ---- if (!OS) break; ! O=new CBM::CompilerOptions(optionsName); if (OS->add(O)) { storePlan(P, planFileName); *************** *** 805,810 **** O=OS->get(optionsName); if (O) { ! if (O->add(option)) { storePlan(P, planFileName); } delete(O); --- 805,812 ---- O=OS->get(optionsName); if (O) { ! if (O->add(B, option)) { storePlan(P, planFileName); + } else { + cbmUI->outputKO("Operation interrupted; can't add option(s)"); } delete(O); |