On Sun, 4 Apr 2004, Fausto Saporito wrote:
as first step to compile GINAC, I need CLN under VMS :-) So i'm trying to compile CLN with DEC C++ compiler.
I hope this is the right place to post something related to CLN, otherwise I apologize for this.
Let's start... Now, i generated config.h and intparam.h and I'm starting from src/base directory. I hope it's fine.
By the way, I have some probs with io.h file, it seems that DEC compiler complaints a lot about it :-) For example, this is an output for cl_as_err.cc (i'm sorry for the output but it's very ugly I know!)
Just two notes:
1) I have to remove all std:: occurence before a stream, because the compiler doesn't like them :-) I don't know why
Uh, uh. This does not bode well. Probably your compiler is too dated. There have been plenty of #ifdefs in CLN's sources to work around DEC CC's idiosyncracies, but I haven't maintained them during the last few years. I was actually planning to remove the remaining ones.
2) It seems the cl_FN_tag is not defined, but I checked in object.h and i think it's all ok. If somebody knows what could be the reason, should be great!
$ cxx/include_dir=("../../include","dka0:[porting.dist.include]") cl_as_err.cc
void* operator new (size_t size, void* ptr) { (void)size; return ptr; } ..............^ %CXX-W-NOCORDEL, function "cln::cl_gcobject::operator new(size_t, void *)" has no corresponding operator delete (to be called if an exception is thrown during initialization of an allocated object) at line number 339 in file DKA0:[WORK.cln116.include.cln]object.h;2 [...]
I assume these are mere warnings. Never mind. Silly compiler. Regards -richy. -- Richard B. Kreckel <http://www.ginac.de/~kreckel/>