Thread overview
about acestl unittest
Dec 02, 2005
chenchang
Dec 03, 2005
Matthew
Dec 05, 2005
chenchang
Dec 05, 2005
Matthew
Dec 05, 2005
chenchang
Jan 20, 2006
Matthew
Dec 05, 2005
chenchang
Dec 06, 2005
Matthew
December 02, 2005
when i build unittest, i have got a build error:
....
D:\My_Data\C++\3rd_lib\stlsoft189\include\acestl/custom_event_handler.hpp(57
0) : error C2039: 'last_error' : is not a member of 'ACE_OS'
D:\My_Data\C++\3rd_lib\stlsoft189\include\acestl/custom_event_handler.hpp(57
0) : error C2065: 'last_error' : undeclared identifier
Standard library is Dinkumware (VC++)
D:\My_Data\C++\3rd_lib\stlsoft189\include\stlsoft/iterator.hpp(818) : fatal
error C1506: unrecoverable block scoping error
...

my environment is, vc6+sp5, ace 5.4 sltsoft1.8.9, the problem is  may about configurate ACE or include some correct headers(i.e. OS_NS_errno.h and only including this header is not enough). who has met this probelm and solved it? could send solution to forum?

thanks
chang


December 03, 2005
"chenchang" <baibaichen@sohu.com> wrote in message news:dmou52$cbk$1@digitaldaemon.com...
> when i build unittest, i have got a build error:
> ....
> D:\My_Data\C++\3rd_lib\stlsoft189\include\acestl/custom_event_handler.hpp(57
> 0) : error C2039: 'last_error' : is not a member of 'ACE_OS'
> D:\My_Data\C++\3rd_lib\stlsoft189\include\acestl/custom_event_handler.hpp(57
> 0) : error C2065: 'last_error' : undeclared identifier
> Standard library is Dinkumware (VC++)
> D:\My_Data\C++\3rd_lib\stlsoft189\include\stlsoft/iterator.hpp(818) :
> fatal
> error C1506: unrecoverable block scoping error
> ...
>
> my environment is, vc6+sp5, ace 5.4 sltsoft1.8.9, the problem is  may
> about
> configurate ACE or include some correct headers(i.e. OS_NS_errno.h and
> only
> including this header is not enough). who has met this probelm and solved
> it? could send solution to forum?
>
> thanks
> chang

I've never seen this before, and can only assume that it's an issue with the ACE headers not recognising your configuration. The ACESTL unittests have always compiled without any problem.

Sorry I can't be more helpful at this stage.

Cheers

Matthew


December 05, 2005
ok, let myself solve it latter, and post the solution in the forum asap.

But now, could u privode the better makefile for allowing us forbid the unittest?

thanks chang

"Matthew" <matthew@stlsoft.com> wrote in message news:dmt5ab$12jk$1@digitaldaemon.com...
>
> "chenchang" <baibaichen@sohu.com> wrote in message news:dmou52$cbk$1@digitaldaemon.com...
> > when i build unittest, i have got a build error:
> > ....
> >
D:\My_Data\C++\3rd_lib\stlsoft189\include\acestl/custom_event_handler.hpp(57
> > 0) : error C2039: 'last_error' : is not a member of 'ACE_OS'
> >
D:\My_Data\C++\3rd_lib\stlsoft189\include\acestl/custom_event_handler.hpp(57
> > 0) : error C2065: 'last_error' : undeclared identifier
> > Standard library is Dinkumware (VC++)
> > D:\My_Data\C++\3rd_lib\stlsoft189\include\stlsoft/iterator.hpp(818) :
> > fatal
> > error C1506: unrecoverable block scoping error
> > ...
> >
> > my environment is, vc6+sp5, ace 5.4 sltsoft1.8.9, the problem is  may
> > about
> > configurate ACE or include some correct headers(i.e. OS_NS_errno.h and
> > only
> > including this header is not enough). who has met this probelm and
solved
> > it? could send solution to forum?
> >
> > thanks
> > chang
>
> I've never seen this before, and can only assume that it's an issue with
the
> ACE headers not recognising your configuration. The ACESTL unittests have always compiled without any problem.
>
> Sorry I can't be more helpful at this stage.
>
> Cheers
>
> Matthew
>
>


December 05, 2005
> ok, let myself solve it latter, and post the solution in the forum asap.

Good

> But now, could u privode the better makefile for allowing us forbid the unittest?

Sorry, but I don't know what you mean by "better makefile"?

Cheers

Matthew


December 05, 2005
sorry...
what i mean is  give us the option to forbid the ACE, WTL etc. unitest.
because some people do not use ACE, and some people do not use WTL.

thanks
chang

"Matthew" <matthew@hat.stlsoft.dot.org> wrote in message news:dn0jo9$2qr0$1@digitaldaemon.com...
> > ok, let myself solve it latter, and post the solution in the forum asap.
>
> Good
>
> > But now, could u privode the better makefile for allowing us forbid the unittest?
>
> Sorry, but I don't know what you mean by "better makefile"?
>
> Cheers
>
> Matthew
>
>


December 05, 2005
could u tell me what is your ace config.h? it is generated by self according to the ACE's documentation

thanks

"Matthew" <matthew@stlsoft.com> wrote in message news:dmt5ab$12jk$1@digitaldaemon.com...
>
> "chenchang" <baibaichen@sohu.com> wrote in message news:dmou52$cbk$1@digitaldaemon.com...
> > when i build unittest, i have got a build error:
> > ....
> >
D:\My_Data\C++\3rd_lib\stlsoft189\include\acestl/custom_event_handler.hpp(57
> > 0) : error C2039: 'last_error' : is not a member of 'ACE_OS'
> >
D:\My_Data\C++\3rd_lib\stlsoft189\include\acestl/custom_event_handler.hpp(57
> > 0) : error C2065: 'last_error' : undeclared identifier
> > Standard library is Dinkumware (VC++)
> > D:\My_Data\C++\3rd_lib\stlsoft189\include\stlsoft/iterator.hpp(818) :
> > fatal
> > error C1506: unrecoverable block scoping error
> > ...
> >
> > my environment is, vc6+sp5, ace 5.4 sltsoft1.8.9, the problem is  may
> > about
> > configurate ACE or include some correct headers(i.e. OS_NS_errno.h and
> > only
> > including this header is not enough). who has met this probelm and
solved
> > it? could send solution to forum?
> >
> > thanks
> > chang
>
> I've never seen this before, and can only assume that it's an issue with
the
> ACE headers not recognising your configuration. The ACESTL unittests have always compiled without any problem.
>
> Sorry I can't be more helpful at this stage.
>
> Cheers
>
> Matthew
>
>


December 06, 2005
It's just whatever came out of the box.

I rebuilt it to change the debug settings, but haven't changed a line of code.



"chenchang" <baibaichen@sohu.com> wrote in message news:dn163u$hun$1@digitaldaemon.com...
> could u tell me what is your ace config.h? it is generated by self
> according
> to the ACE's documentation
>
> thanks
>
> "Matthew" <matthew@stlsoft.com> wrote in message news:dmt5ab$12jk$1@digitaldaemon.com...
>>
>> "chenchang" <baibaichen@sohu.com> wrote in message news:dmou52$cbk$1@digitaldaemon.com...
>> > when i build unittest, i have got a build error:
>> > ....
>> >
> D:\My_Data\C++\3rd_lib\stlsoft189\include\acestl/custom_event_handler.hpp(57
>> > 0) : error C2039: 'last_error' : is not a member of 'ACE_OS'
>> >
> D:\My_Data\C++\3rd_lib\stlsoft189\include\acestl/custom_event_handler.hpp(57
>> > 0) : error C2065: 'last_error' : undeclared identifier
>> > Standard library is Dinkumware (VC++)
>> > D:\My_Data\C++\3rd_lib\stlsoft189\include\stlsoft/iterator.hpp(818) :
>> > fatal
>> > error C1506: unrecoverable block scoping error
>> > ...
>> >
>> > my environment is, vc6+sp5, ace 5.4 sltsoft1.8.9, the problem is  may
>> > about
>> > configurate ACE or include some correct headers(i.e. OS_NS_errno.h and
>> > only
>> > including this header is not enough). who has met this probelm and
> solved
>> > it? could send solution to forum?
>> >
>> > thanks
>> > chang
>>
>> I've never seen this before, and can only assume that it's an issue with
> the
>> ACE headers not recognising your configuration. The ACESTL unittests have always compiled without any problem.
>>
>> Sorry I can't be more helpful at this stage.
>>
>> Cheers
>>
>> Matthew
>>
>>
>
> 


January 20, 2006
This is now done, and will be out in the next beta (coming later today).

By default the makefiles compile "target", which is only the things that will be present, on a compiler-by-compiler basis.

To test build everything, the target "all" must be explicitly specified.

Cheers

Matthew


"chenchang" <baibaichen@sohu.com> wrote in message news:dn0kha$2ra1$1@digitaldaemon.com...
> sorry...
> what i mean is  give us the option to forbid the ACE, WTL etc. unitest.
> because some people do not use ACE, and some people do not use WTL.
>
> thanks
> chang
>
> "Matthew" <matthew@hat.stlsoft.dot.org> wrote in message news:dn0jo9$2qr0$1@digitaldaemon.com...
> > > ok, let myself solve it latter, and post the solution in the forum
asap.
> >
> > Good
> >
> > > But now, could u privode the better makefile for allowing us forbid
the
> > > unittest?
> >
> > Sorry, but I don't know what you mean by "better makefile"?
> >
> > Cheers
> >
> > Matthew
> >
> >
>
>