October 22, 2004
There's a new switch for this in the 8.42.1 beta.

"Matthew" <admin@stlsoft.dot.dot.dot.dot.org> wrote in message news:ckaokb$1u0f$1@digitaldaemon.com...
> I mean in terms of command-line. I don't want to split my implementation file (as it's a unittest file, that includes all headers in WinSTL)
>
>


February 21, 2005
If this is -GT, it doesn't work. I've tried from -GT10 right up to -GT1000000000. What gives?

"Walter" <newshound@digitalmars.com> wrote in message news:clbl2r$nbi$3@digitaldaemon.com...
> There's a new switch for this in the 8.42.1 beta.
>
> "Matthew" <admin@stlsoft.dot.dot.dot.dot.org> wrote in message news:ckaokb$1u0f$1@digitaldaemon.com...
>> I mean in terms of command-line. I don't want to split my implementation file (as it's a unittest file, that includes all headers in WinSTL)
>>
>>
>
> 


February 26, 2005
It's -HPnn, nn is in megabytes.

"Matthew" <admin.hat@stlsoft.dot.org> wrote in message news:cvcf3q$2d9q$1@digitaldaemon.com...
> If this is -GT, it doesn't work. I've tried from -GT10 right up
to -GT1000000000. What gives?
>
> "Walter" <newshound@digitalmars.com> wrote in message
news:clbl2r$nbi$3@digitaldaemon.com...
> > There's a new switch for this in the 8.42.1 beta.
> >
> > "Matthew" <admin@stlsoft.dot.dot.dot.dot.org> wrote in message news:ckaokb$1u0f$1@digitaldaemon.com...
> >> I mean in terms of command-line. I don't want to split my
implementation
> >> file (as it's a unittest file, that includes all headers in WinSTL)
> >>
> >>
> >
> >
>
>


February 27, 2005
Ah!

LOL

Anyway, is no matter now. This issue has spurred me into what is now a nicer solution for the STLSoft unittests.

I now have a Ruby script - what else?! - that examines the STLSoft directory and sub-dirs for all .h and .hpp, and creates a bunch of unittest files: 10 each for STLSoft, ACESTL ATLSTL, COMSTL, ..., WinSTL, WTLSTL. Each unittest source file contains at most 20 header files from the respective project. Furthermore, the compiler (in)compatibilities are now marked in the header files, and so the unittest file contains conditional inclusion, as in:

// From rangelib/indexed_range.hpp

/*
/////////////////////////////////////////////////////////////////////////////
 * Compatibility
 */

/*
[Incompatibilies-start]
__STLSOFT_COMPILER_IS_BORLAND:
__STLSOFT_COMPILER_IS_MWERKS:   (__MWERKS__ & 0xFF00) < 0x3000
[Incompatibilies-end]
 */


which results in ..\test\rangelib\unittest.0.cpp containing:

#include
<H:\STLSoft\Identities\STLSoft\stlsoft\inprogress\rangelib\associative_range.hpp>
#if !defined(__STLSOFT_COMPILER_IS_BORLAND) && \
    !(defined(__STLSOFT_COMPILER_IS_MWERKS) && ((__MWERKS__ & 0xFF00) <
0x3000))
# include
<H:\STLSoft\Identities\STLSoft\stlsoft\inprogress\rangelib\indexed_range.hpp>
#endif
#include
<H:\STLSoft\Identities\STLSoft\stlsoft\inprogress\rangelib\operator_adaptors.hpp>


Since this is all auto-generated (along with the unittest makefiles for all projects for all supported compilers), the single point of compatibility truth is in the header itself, which helps enormously. Furthermore, because the unittest inclusions are partitioned into a set of fully auto-generated source files, linked to one 'main()' unittest file, the auto-generation is far easier than it was last year. And now the only compiler that hangs with the reduced code size per unittest file is VC++ 5.0, which I'm all but about to junk support for anyway. (The only reason I've kept it so far is that all the Synesis Software DLLs are still built with it ... he he.)

So, in summary, I'm glad DMC++ had a spat since it's resulted in me having a far better unitttest generation toolset than before.

Cheers

Matthew

P.S. All that remains to do now is to get DMC++ fully compatible with the current RangeLib, which relies on it having a teensy bit better SFINAE support ... ;)



"Walter" <newshound@digitalmars.com> wrote in message news:cvq9vn$ric$1@digitaldaemon.com...
> It's -HPnn, nn is in megabytes.
>
> "Matthew" <admin.hat@stlsoft.dot.org> wrote in message news:cvcf3q$2d9q$1@digitaldaemon.com...
>> If this is -GT, it doesn't work. I've tried from -GT10 right up
> to -GT1000000000. What gives?
>>
>> "Walter" <newshound@digitalmars.com> wrote in message
> news:clbl2r$nbi$3@digitaldaemon.com...
>> > There's a new switch for this in the 8.42.1 beta.
>> >
>> > "Matthew" <admin@stlsoft.dot.dot.dot.dot.org> wrote in message news:ckaokb$1u0f$1@digitaldaemon.com...
>> >> I mean in terms of command-line. I don't want to split my
> implementation
>> >> file (as it's a unittest file, that includes all headers in WinSTL)
>> >>
>> >>
>> >
>> >
>>
>>
>
>
> 


1 2
Next ›   Last »