RE: Linux/390: Compilation Errors in veo38.cpp and veo964.cpp

"Post, Mark K" <[email protected]> Fri, 24 Jan 2003 14:12:15 -0500
Newsgroups gmane.comp.db.sapdb.sources
Message-ID <564DE4477544D411AD2C00508BDF0B6A12F0BB43@usahm018.exmi01.exch.eds.com>
Daniel,

That took care of the first error, at line 100.  That still leaves the error
at line 106:
veo964.cpp fast
veo964.cpp: In function `void ShowAndRemoveNiErrorTrace(int)':
veo964.cpp:106: cannot pass objects of non-POD type `class tsp00_Pathc'\
 through
   `...'
Error while executing "c++ -DREL30 -DLINUX -DS390 -DSAG -I/home/mark/V7\
4_03_07/SAPDB_ORG/usr/incl -I/home/mark/V74_03_07/SAPDB_ORG/sys/wrk/incl\
 -I/home/mark/V74_03_07/SAPDB_ORG/sys/wrk/incl/SAPDB -DSYSV -D_SVID -I/u\
sr/include/ncurses -w -Wall -D_FILE_OFFSET_BITS=64 -DSAPDB_FAST -D_REENT\
RANT -O -I/home/mark/DevTool/incl -c veo964.cpp"
message:
COMMAND error 1

Mark

-----Original Message-----
From: Dittmar, Daniel [mailto:[email protected]]
Sent: Friday, January 24, 2003 1:20 PM
To: 'Post, Mark K'; '[email protected]'
Subject: RE: Linux/390: Compilation Errors in veo38.cpp and veo964.cpp


> veo964.cpp:100: request for member `asCharp' in `line', which is of
>    non-aggregate type `char[81]'

I don't understand it, because the code to asCharp is pretty obvious:
inline char * TSP00_ARRAY::asCharp  ()
{
    return REINTERPRET_CAST (char*, this->data_IV);
}

You can try 
> +            printf ("%s", (char *) line ) ;
instead.

Daniel Dittmar

-- 
Daniel Dittmar
SAP DB, SAP Labs Berlin
[email protected]
http://www.sapdb.org/