[...]
> This can probably be fixed by the following lines:
> @@ -177,8 +177,8 @@
Yes - this fixed the error (both) :-)
> Do all the errors have their origin in SAPDB_RangeCode.hpp?
the former had. The next error occuring is the same issue. Using the
explicit cast here too fixes it.
SAPDB_PascalMoveKernel.cpp fast
"SAPDB_PascalMoveKernel.cpp", line 263: Error: Different types for "?:" \
(SAPDB_ToStringClass and const char*).
"SAPDB_PascalMoveKernel.cpp", line 264: Error: Different types for "?:"\
(SAPDB_ToStringClass and const char*).
"SAPDB_PascalMoveKernel.cpp", line 255: Error: Formal argument MessageL\
ist of type const SAPDBErr_MessageList& in call to SAPDBErr_MessageList:\
:AppendNewMessage(const SAPDBErr_MessageList&) is being passed int.
"SAPDB_PascalMoveKernel.cpp", line 324: Error: Different types for "?:"\
(SAPDB_ToStringClass and const char*).
"SAPDB_PascalMoveKernel.cpp", line 325: Error: Different types for "?:"\
(SAPDB_ToStringClass and const char*).
5 Error(s) detected.
same goes here:
"Data_PageBasic.cpp", line 57: Error: Different types for "?:" (const ch\
ar* and SAPDB_ToStringClass).
1 Error(s) detected.
Error while executing "CC -DREL30 -DSVR4 -DI386 -DSAG -I/home/sapdb/max\
db-76/usr/incl -I/home/sapdb/maxdb-76/sys/wrk/incl -I/home/sapdb/maxdb-7\
6/sys/wrk/incl/SAPDB -D_SVID -DSAPonSUN -DSOLARIS7 -KPIC -DSAPDB_FAST -m\
t -xO4 -I/home/sapdb/TOOLSRC/incl -instances=static -c Data_PageBasic.cp\
and many warnings like
"/home/sapdb/maxdb-76/sys/wrk/incl/SAPDB/SQLManager/Optimizer/QueryRewr\
ite/QueryRewrite_Rules.hpp", line 195: Warning: Rule_EorAPDFR::Apply hid\
es the virtual function Optim_Rule::Apply(Query_Node*) const.
"/home/sapdb/maxdb-76/sys/wrk/incl/SAPDB/SQLManager/Optimizer/QueryRewr\
ite/QueryRewrite_Rules.hpp", line 209: Warning: Rule_DISTPDFR::IsApplica\
ble hides the virtual function Optim_Rule::IsApplicable(Query_Node*, uns\
igned short) const.
As I see with ongoing build there are more occurences where one has to cast
explicitly. It's always at places where SAPDB_ToStringClass is used, maybe
this can be wrapped (or casted elsewhere in a headerfile).
I'll create a new patch as soon as "imf all" is through without error.
> P.S. Sorry that I didn't integrated the Solaris/i386 patches
> yet. But several of the patches consist of removing the
> comments of assmbler files. And I rather add a script to our
> build tools to do this during make.
No need to urge since I have my changes here :-)
Greetz,
SIEGENIA-AUBI KG
Informationswesen
i.A.
Markus Döhr
SAP-CC/BC, SAPDB-DBA
Tel.: +49 6503 917-152
Fax: +49 6503 917-7152
E-Mail: markus.doehr@stripped
Internet: http://www.siegenia-aubi.com