From: Rick F. <Ric...@qu...> - 2001-12-14 00:19:22
|
Ok.. I've generally got the autoconf stuff going in the source tree after reorganizing this a little.. (ok a bit more than a little!).. Anyway, the machine I'm using is a Solaris box with a fairly recent CC (Workshop 6, update 1). It's complaining when trying to compile ./IscDbc/Value.cpp due to the value.h having a union which contains some classes, which have implied assignment operators.. Apparently this is forbidden with the more recent compilers -- I believe even the GNU compiler enforces this -- but perhaps is overridable.. Anyway, in this case, the DateTime, TimeStamp and SqlTime classes all have assignment operators which cause the compiler to barf.. Any ideas on what to do with them? I already tried removing the assignment operators from TimeStamp and replacing them with "set" methods, but that didn't seem to solve the problem -- it still complains.. union { struct { char *string; int length; } string; /*** struct { long recordNumber; long sectionId; } blobId; ***/ short smallInt; long integer; double dbl; QUAD quad; Blob *blob; Clob *clob; DateTime date; TimeStamp timestamp; SqlTime time; } data; |