I have been waiting for the OpenWatcom project to get the Watcom compiler
source into the public domain. I was then hoping that with a bit of
cooperative effort we would be able to get the Watcom compiler running under
QNX6. This would solve a lot of portability issues for those of us moving
large amounts of code from QNX4 (not just the Watcom class libraries, but
also Makefiles/compiler options).
However the OpenWatcom project seems to have gone quiet (last update Feb
22nd). See www.openwatcom.org if you’re not familiar with the project.
Anybody got any recent news on this?
By the way, at least some of the Watcom class libraries are not “pure”
template classes (require libraries to link against) and so can’t be ported
to QNX6 without access to the source for the libraries. String is certainly
one such example.
And yes I agree that the ‘proper’ solution is to port everything to STL
(since it is also available under QNX4) but that is not trivial when you
have a large existing code base.
Robert Rutherford
“Bill Caroselli” <Bill@Sattel.com> wrote in message
news:9f0mj3$7h9$1@inn.qnx.com…
I agree, but, . . .
I seem to recall that Watcom’s container classes were entirely implemented
in templates. If you are already using them in your application, just
copy
all of the code over to compile them here. I know that if I have many
KLOCs
I wouldn’t want to have to port them all.
Good luck.
–
Bill Caroselli - Sattel Global Networks
1-818-709-6201 ext 122
“Brown, Richard” <> brownr@aecl.ca> > wrote in message
news:9etase$4g9$> 1@inn.qnx.com> …
Use STL rather than Watcom Containers.
“Mike Konstan” <> mk@telecast.dk> > wrote in message
news:9em8a0$lb2$> 1@inn.qnx.com> …
Has anyone successfully ported Watcom container classes to QNX6 (like
wchash.cpp)?
I compile them successfully with CodeWarrior for NTO but
unsuccessfully
with
the standard gcc for NTO.
For example, for the code, below found in wclist.hpp;
inline WCValSList() : WCValListBase( 0, 0 ) {};
I get the following compiler error, from gcc:
wclist.hpp: In method WCValSList<Type>::WCValSList()': wclist.hpp:46: class
WCValSList’ does not have any field named
`WCValList
Base’
Can anyone help?
\