[Compbench-devel] CompBenchmarks++/libcompbenchmarks/Compiler Compiler.cpp, 1.13, 1.14
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-04-19 20:50:17
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Compiler In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv6060 Modified Files: Compiler.cpp Log Message: Improvements on error reporting in relativeDescriptionDirectory(). Important fix in that method. Index: Compiler.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Compiler/Compiler.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Compiler.cpp 17 Apr 2007 17:53:43 -0000 1.13 --- Compiler.cpp 19 Apr 2007 20:50:11 -0000 1.14 *************** *** 143,147 **** if (v_int<c_int) continue; ! if ((differences>v_int-c_int) && (v_int-c_int>=0)) { differences=v_int-c_int; --- 143,147 ---- if (v_int<c_int) continue; ! if (((differences>v_int-c_int) || (differences<0)) && (v_int-c_int>=0)) { differences=v_int-c_int; *************** *** 150,155 **** } ! if (differences<0) ! return("!!! this version is not supported and no compatibility found."); return(result); --- 150,158 ---- } ! if (differences<0) { ! result="!!! version '"; ! result+=_version; ! result+="' is not supported and no compatibility found."; ! } return(result); |