www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - Need some help STLsoft + Turbo Explorer

reply "Victor T." <digitalmars.greatwolf spamgourmet.com> writes:
Hi everyone,

I was looking for a way to output data to an excel spreadsheet using C++ 
and came across VOLE as a possible way to interface that. But it seems 
like STLsoft doesn't support Turbo C++ Explorer. It uses bcc32 v5.82 w/ 
the Dinkumware STL library. Currently this is the compiling error I get 
when I try to build the xmlValidator from codeproject:

[C++ Fatal Error] stlsoft.h(326): F1003 Error directive: Currently only 
versions 5.51, 5.6 and 5.6.4 of the Borland C++ compiler are supported by 
the STLSoft libraries

Are there any plans to support turbo explorer also and is there any 
workaround or quick modifications I can make to get stlsoft to work with 
turbo explorer?

Thanks
Oct 13 2007
next sibling parent reply "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
The checks in stlsoft/stlsoft.h are there to ensure that STLSoft does not
promise what it can't deliver.

However, if you, as a user of Turbo C++ Explorer and STLSoft, want to
contribute the changes that will deliver that support, that's fine. In fact,
it's encouraged.

My suggestion of where to start would be to make the appropriate change to
stlsoft/stlsoft.h, something adding the following two lines at line 324:



C++)"


That may be all you need. (Of course, 0x0582 may not be the right number.
You'd have to test for the right one.)

It's possible that you'd need another step, to look through
stlsoft/internal/cccap/borland.h and add in the requisite #ifdef
__BORLANDC__ >= 0x0582 clauses around features not supported in previous
versions of the compiler.

HTH

Please let me know how you go. I'll be happy to continue to assist as
necessary

All the best

Matt


"Victor T." <digitalmars.greatwolf spamgourmet.com> wrote in message
news:Xns99C8A11E73286Viviblackmagevillage 65.204.18.192...
 Hi everyone,

 I was looking for a way to output data to an excel spreadsheet using C++
 and came across VOLE as a possible way to interface that. But it seems
 like STLsoft doesn't support Turbo C++ Explorer. It uses bcc32 v5.82 w/
 the Dinkumware STL library. Currently this is the compiling error I get
 when I try to build the xmlValidator from codeproject:

 [C++ Fatal Error] stlsoft.h(326): F1003 Error directive: Currently only
 versions 5.51, 5.6 and 5.6.4 of the Borland C++ compiler are supported by
 the STLSoft libraries

 Are there any plans to support turbo explorer also and is there any
 workaround or quick modifications I can make to get stlsoft to work with
 turbo explorer?

 Thanks
Oct 15 2007
parent reply "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
I've registered and am downloading the Turbo C++ Explorer. Hopefully I will
get a chance before the w/e to install and then update STLSoft with full
(and tested) support.

In the meantime, if you get chance to do the changes I suggested and let me
know how you go, that'd probably be helpful.

Cheers

Matt

"Matthew Wilson" <matthew hat.stlsoft.dot.org> wrote in message
news:fevl1g$iii$1 digitalmars.com...
 The checks in stlsoft/stlsoft.h are there to ensure that STLSoft does not
 promise what it can't deliver.

 However, if you, as a user of Turbo C++ Explorer and STLSoft, want to
 contribute the changes that will deliver that support, that's fine. In
fact,
 it's encouraged.

 My suggestion of where to start would be to make the appropriate change to
 stlsoft/stlsoft.h, something adding the following two lines at line 324:



 C++)"


 That may be all you need. (Of course, 0x0582 may not be the right number.
 You'd have to test for the right one.)

 It's possible that you'd need another step, to look through
 stlsoft/internal/cccap/borland.h and add in the requisite #ifdef
 __BORLANDC__ >= 0x0582 clauses around features not supported in previous
 versions of the compiler.

 HTH

 Please let me know how you go. I'll be happy to continue to assist as
 necessary

 All the best

 Matt


 "Victor T." <digitalmars.greatwolf spamgourmet.com> wrote in message
 news:Xns99C8A11E73286Viviblackmagevillage 65.204.18.192...
 Hi everyone,

 I was looking for a way to output data to an excel spreadsheet using C++
 and came across VOLE as a possible way to interface that. But it seems
 like STLsoft doesn't support Turbo C++ Explorer. It uses bcc32 v5.82 w/
 the Dinkumware STL library. Currently this is the compiling error I get
 when I try to build the xmlValidator from codeproject:

 [C++ Fatal Error] stlsoft.h(326): F1003 Error directive: Currently only
 versions 5.51, 5.6 and 5.6.4 of the Borland C++ compiler are supported
by
 the STLSoft libraries

 Are there any plans to support turbo explorer also and is there any
 workaround or quick modifications I can make to get stlsoft to work with
 turbo explorer?

 Thanks
Oct 15 2007
parent reply Vivi Orunitia <digitalmars.greatwolf spamgourmet.com> writes:
Well I'm not sure how qualified I am to try and hack support into someone 
else's code. I was hoping for something that works out of the box with 
the development tools I'm using. But I'll give it a try nontheless, 
perhaps might learn something in the process.

Ok so I've added in those recommended lines into stlsoft.h. Recompiling 
the excel.driver.test gives me:

[C++ Fatal Error] library_discriminator.hpp(240): F1003 Error directive: 
When the Dinkumware-VC library is used, STLSoft requires that Visual C++ 
or a compatible compiler (e.g. DMC++, Comeau, CodeWarrior, Intel) is used

I'm not familiar at all with how Dinkumware's lib implements STL nor am I 
aware of any of it's quirks' or shortcomings. How would I know which 
feature is supported and how to modify stlsoft/internal/cccap/borland.h?

Thanks
Oct 25 2007
parent reply "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
Ok, thanks for trying. Sounds like I need to get into it. Will try and
install later today, and do an update.

There're some new additions to STLSoft anyway, so it'd be good to get a new
release happening.

"Vivi Orunitia" <digitalmars.greatwolf spamgourmet.com> wrote in message
news:Xns99D4E0E961C83Viviblackmagevillage 65.204.18.192...
 Well I'm not sure how qualified I am to try and hack support into someone
 else's code. I was hoping for something that works out of the box with
 the development tools I'm using. But I'll give it a try nontheless,
 perhaps might learn something in the process.

 Ok so I've added in those recommended lines into stlsoft.h. Recompiling
 the excel.driver.test gives me:

 [C++ Fatal Error] library_discriminator.hpp(240): F1003 Error directive:
 When the Dinkumware-VC library is used, STLSoft requires that Visual C++
 or a compatible compiler (e.g. DMC++, Comeau, CodeWarrior, Intel) is used

 I'm not familiar at all with how Dinkumware's lib implements STL nor am I
 aware of any of it's quirks' or shortcomings. How would I know which
 feature is supported and how to modify stlsoft/internal/cccap/borland.h?

 Thanks
Oct 26 2007
parent reply Vivi Orunitia <digitalmars.greatwolf spamgourmet.com> writes:
How goes the current progress on this btw? I'm curious as to what kind of 
things need to be modified to get STLosft to work with it.

Thanks

"Matthew Wilson" <matthew hat.stlsoft.dot.org> wrote in
news:ffu5un$1jrn$1 digitalmars.com: 

 Ok, thanks for trying. Sounds like I need to get into it. Will try and
 install later today, and do an update.
 
 There're some new additions to STLSoft anyway, so it'd be good to get
 a new release happening.
 
Oct 28 2007
parent reply "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
Slowly. But now I have it installed on two machines, and I'm making some
progress. I can get basic STLSoft things compiling, but VOLE's currently not
a happening thing.

It seems that Borland's latest still has a whole lot of compiler weirdies
that are hard to understand. I'll keep a record of the changes, and will
post an article somewhere explaning what was required. It'll help anyone in
the future with other compilers.

"Vivi Orunitia" <digitalmars.greatwolf spamgourmet.com> wrote in message
news:Xns99D792228431AViviblackmagevillage 65.204.18.192...
 How goes the current progress on this btw? I'm curious as to what kind of
 things need to be modified to get STLosft to work with it.

 Thanks

 "Matthew Wilson" <matthew hat.stlsoft.dot.org> wrote in
 news:ffu5un$1jrn$1 digitalmars.com:

 Ok, thanks for trying. Sounds like I need to get into it. Will try and
 install later today, and do an update.

 There're some new additions to STLSoft anyway, so it'd be good to get
 a new release happening.
Oct 30 2007
parent Vivi Orunitia <digitalmars.greatwolf spamgourmet.com> writes:
Awesome, looking forward to that article. Borland also has their own 
support newsgroups as well, newsgroups.borland.com I believe. If there's 
something unclear about how borland's compiler is handling something 
that's one place I usually goto if I'm looking for answers. They're 
usually pretty prompt on their responses.

"Matthew Wilson" <matthew hat.stlsoft.dot.org> wrote in
news:fg7vhc$hl$1 digitalmars.com: 

 Slowly. But now I have it installed on two machines, and I'm making
 some progress. I can get basic STLSoft things compiling, but VOLE's
 currently not a happening thing.
 
 It seems that Borland's latest still has a whole lot of compiler
 weirdies that are hard to understand. I'll keep a record of the
 changes, and will post an article somewhere explaning what was
 required. It'll help anyone in the future with other compilers.
 
 "Vivi Orunitia" <digitalmars.greatwolf spamgourmet.com> wrote in
 message news:Xns99D792228431AViviblackmagevillage 65.204.18.192...
 How goes the current progress on this btw? I'm curious as to what
 kind of things need to be modified to get STLosft to work with it.

 Thanks

 "Matthew Wilson" <matthew hat.stlsoft.dot.org> wrote in
 news:ffu5un$1jrn$1 digitalmars.com:

 Ok, thanks for trying. Sounds like I need to get into it. Will try
 and install later today, and do an update.

 There're some new additions to STLSoft anyway, so it'd be good to
 get a new release happening.
Oct 31 2007
prev sibling parent reply Matthew Wilson <no-one nowhere.none> writes:
Victor T. Wrote:

 Hi everyone,
 
 I was looking for a way to output data to an excel spreadsheet using C++ 
 and came across VOLE as a possible way to interface that. But it seems 
 like STLsoft doesn't support Turbo C++ Explorer. It uses bcc32 v5.82 w/ 
 the Dinkumware STL library. Currently this is the compiling error I get 
 when I try to build the xmlValidator from codeproject:
 
 [C++ Fatal Error] stlsoft.h(326): F1003 Error directive: Currently only 
 versions 5.51, 5.6 and 5.6.4 of the Borland C++ compiler are supported by 
 the STLSoft libraries
 
 Are there any plans to support turbo explorer also and is there any 
 workaround or quick modifications I can make to get stlsoft to work with 
 turbo explorer?
I think this is now sorted. I've worked through a number of issues, and can compile,build and execute a VOLE program with Turbo Explorer. Am hoping to release STLSoft 1.9.7 asap - probably in next two days; at the w/e at the latest. Will try and post a patch for VOLE users tonight/tomorrow. Cheers Matt
Nov 12 2007
parent reply Vivi Orunitia <digitalmars.greatwolf spamgourmet.com> writes:
Matthew Wilson <no-one nowhere.none> wrote in
news:fhb8b8$7km$1 digitalmars.com: 

 Victor T. Wrote:
 
 Hi everyone,
 
 I was looking for a way to output data to an excel spreadsheet using
 C++ and came across VOLE as a possible way to interface that. But it
 seems like STLsoft doesn't support Turbo C++ Explorer. It uses bcc32
 v5.82 w/ the Dinkumware STL library. Currently this is the compiling
 error I get when I try to build the xmlValidator from codeproject:
 
 [C++ Fatal Error] stlsoft.h(326): F1003 Error directive: Currently
 only versions 5.51, 5.6 and 5.6.4 of the Borland C++ compiler are
 supported by the STLSoft libraries
 
 Are there any plans to support turbo explorer also and is there any 
 workaround or quick modifications I can make to get stlsoft to work
 with turbo explorer?
I think this is now sorted. I've worked through a number of issues, and can compile,build and execute a VOLE program with Turbo Explorer. Am hoping to release STLSoft 1.9.7 asap - probably in next two days; at the w/e at the latest. Will try and post a patch for VOLE users tonight/tomorrow. Cheers Matt
That's awesome. Thank you so much for taking the time to make stlsoft/vole work with borland's compiler. Looking forward to next release :)
Nov 14 2007
parent "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
 I think this is now sorted. I've worked through a number of issues,
 and can compile,build and execute a VOLE program with Turbo Explorer.

 Am hoping to release STLSoft 1.9.7 asap - probably in next two days;
 at the w/e at the latest.

 Will try and post a patch for VOLE users tonight/tomorrow.

 Cheers

 Matt
That's awesome. Thank you so much for taking the time to make stlsoft/vole work with borland's compiler. Looking forward to next release :)
Please feel free to hassle me if I'm late in delivering. I've got a *lot* on my plate at the moment, but doing this is a relatively small effort now, so I should be able to do it in a few hours, as long as it doesn't slip off my to-do list. So, hassle away if you don't hear from me asap. Cheers Matt
Nov 14 2007