Skip navigation.
Home
The QNX Community Portal

View topic - STL for QNX4/Watcom 10.6

STL for QNX4/Watcom 10.6

Read-only archive of qnx.qnx4 (General QNX4 Discussion Group) at inn.qnx.com

STL for QNX4/Watcom 10.6

Postby Per Åkesson » Mon Sep 04, 2006 10:51 am

Hello,

does anyone know if there is a working STL port
for Watcom 10.6 on QNX4 ?

thanks in advance

Per Åkesson
Carmenta AB
Per Åkesson
 

Re: STL for QNX4/Watcom 10.6

Postby Robert Rutherford » Mon Sep 04, 2006 11:53 pm

On 2006-09-04 20:51:58 +1000, Per Åkesson <Per.Akesson@carmenta.se> said:

does anyone know if there is a working STL port
for Watcom 10.6 on QNX4 ?

We use STLport version 4.0. It works pretty much out of the box, we had
to make minor tweaks to c_locale.h.

We only use it fairly lightly so I can't say it is 100% working but the
basics all seem to work (list, vector, map etc).

We've never bothered upgrading to a more recent version as 4.0 does
everything we need.

Rob Rutherford
Ruzz Technology
Robert Rutherford
 

Re: STL for QNX4/Watcom 10.6

Postby Mario Charest » Wed Sep 06, 2006 8:08 pm

"Robert Rutherford" <ruzz@NoSpamPlease.ruzz.com> wrote in message
news:2006090509531816807-ruzz@NoSpamPleaseruzzcom...
On 2006-09-04 20:51:58 +1000, Per Åkesson <Per.Akesson@carmenta.se> said:

does anyone know if there is a working STL port
for Watcom 10.6 on QNX4 ?

We use STLport version 4.0. It works pretty much out of the box, we had to
make minor tweaks to c_locale.h.

We only use it fairly lightly so I can't say it is 100% working but the
basics all seem to work (list, vector, map etc).

We've never bothered upgrading to a more recent version as 4.0 does
everything we need.

Rob Rutherford
Ruzz Technology


STL assumes ( I didn't find a setting to change that) that if new fails, an
expection is thrown. But under Watcom 10.6 new returns null and doesn't
throw an exception. Basicaly you program is very likely to crash if running
out of ram. To fix this, use set_new_handler to setup a out of memory
handler that will throw an exception.
Mario Charest
 


Return to qnx.qnx4

Who is online

Users browsing this forum: No registered users and 1 guest