Thread overview
Need some help STLsoft + Turbo Explorer
Oct 13, 2007
Victor T.
Oct 15, 2007
Matthew Wilson
Oct 15, 2007
Matthew Wilson
Oct 26, 2007
Vivi Orunitia
Oct 27, 2007
Matthew Wilson
Oct 28, 2007
Vivi Orunitia
Oct 30, 2007
Matthew Wilson
Nov 01, 2007
Vivi Orunitia
October 13, 2007
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
October 15, 2007
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:

# elif (__BORLANDC__ == 0x0582)
#  define STLSOFT_COMPILER_VERSION_STRING       "Borland C++ 5.8.2 (Turbo
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


October 15, 2007
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:
>
> # elif (__BORLANDC__ == 0x0582)
> #  define STLSOFT_COMPILER_VERSION_STRING       "Borland C++ 5.8.2 (Turbo
> 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
>
>


October 26, 2007
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
October 27, 2007
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


October 28, 2007
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.
> 
October 30, 2007
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.
> >


November 01, 2007
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.
>> >
> 
> 
>