I have downloaded the latest version of the sources for MaxDB, version
V76_00_37 and installed the compile tools. When trying to compile
MaxDB on Linux (Redhat 4.0) using gcc version 3.4.5 I get the
following compile error:
cc -DREL30 -DLINUX -DX86_64 -DSAG -DSDB_RELEASE_070600
-I/home/olav/maxdb/linux/V76_00_37/MaxDB_DEV/usr/incl
-I/home/olav/maxdb/linux/V76_00_37/MaxDB_DEV/sys/wrk/incl
-I/home/olav/maxdb/linux/V76_00_37/MaxDB_DEV/sys/wrk/incl/SAPDB -DSYSV
-D_SVID -I/usr/include/ncurses -w -Wall -DBIT64 -fPIC -DDLL -DHAS_NPTL
-DSQLODBC -fno-strict-aliasing -DSAPDB_FAST -D_REENTRANT -O2
-I/home/olav/maxdb/linux/DevTool/incl -c vpa04gc.c
In file included from vpa04gc.c:98:
/home/olav/maxdb/linux/V76_00_37/MaxDB_DEV/usr/incl/livecachetypes.h:43:
error: syntax error before "OmsTypeDouble"
The source code in livecachetypes.h that the compiler complains about
is:
union OmsTypeDouble {
double d;
OmsTypeInt8 int8;
OmsTypeDouble() {d = 0;} <--- line 43
};
To me this looks like a C++ constructor and I am not surprised that
the C compiler complains about this. The questions is why I get this
error and what to do about it. It is a genuine error in the source
code? Or is there something in my compile environment that is wrong?
E.g. is this file wrongly included or do I use wrong compiler?
BTW Is there a public bug tracking system for MaxDB where I can check
if this problem have been reported earlier?
Thanks,
Olav
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]