[aspectc-user] current release (0.7.2) unusable due to bug 13 7

thiagoacorrea thiagoacorrea at uol.com.br
Tue Jan 20 18:23:24 CET 2004


Hi,
   Thanks for your replies.
   Nope, defines doesn't help at all, added them to my 
pumaconfig file but had the same result :(

   here is my xstrings:100
	_Myt& append(size_type _M, _E _C)
   and here is my xstrings:108
	_Myt& append(_It _F, _It _L)

ac++ can't figure the difference between _It, size_type and 
_E. They are defined like this:
typedef const_iterator _It
typedef _A :: size_type size_type

template<class _E,
	class _Tr = char_traits<_E>,
	class _A = allocator<_E> >
	class basic_string {


I can send my entire xstrings if that's to help, but I belive 
that basically any ANSI compliant STL implementation will 
have that same problem, if it's not with #include<string> it 
will be with the containers, I'm still waiting for emerge to 
finish in order to test out on a linux box with gcc :)

 
> On Tuesday 20 Jan 2004 8:52 am, Danilo Beuche wrote:
> > Hi,
> >
> > the same problem was sometimes ago mentioned on the mailin
g list.
> > My answer was
> >
> > ---
> > The problem is probably due to some missing #define for ac
++. Please
> > have a look in the specified file  C:/Program Files/Micros
oft Visual
> > Studio/VC98/Include/xstring around line 100 for any suspic
ious #ifdef
> > statement(s).
> > Add the required defines either to your command line or to
 the
> > PUMA_CONFIG file.
> >
> > Please make sure that you use the right PUMA_CONFIG (pumav
c7.cfg)!
> > ---
> >
> > If someone would send us the problematic lines from the xs
tring include
> > we could put the right stuff into an pumavc6.cfg. Maybe yo
u should try
> > the modifications of Frank Prantl (yesterday on the mailin
g list). If
> > this still does not work, the problem should be considered
 more serious
> > indeed.
> >
> >
> > Regards,
> > 	Danilo
> >
> > thiagoacorrea wrote:
> > > <a href="http://www.aspectc.org/bugzilla/show_bug.cgi?
> > > id=137">Bug 137</a>, taken as Severity "Normal" should b
e
> > > considered blocking since it prevents you from using
> > > AspectC++ with code that depends on the STL.
> > >
> > > You don't need to do any fancy thing to be hit by the bu
g,
> > > for example, by just adding "#include <string>" to the O
rder
> > > example you will get this:
> > >
> > > C:\AC>ac++ -p examples\Order -d examples\Order-out -
> > > Iexamples\Order -v9
> > > * Running ac++ 0.7.2
> > > * Simple Dependency Check
> > > * Handling Translation Unit `main.cc'.
> > >   - Path "examples/Order/main.cc"
> > > C:/Arquivos de programas/Microsoft Visual
> > > Studio/VC98/include/xstring:108: error
> > >
> > > : redefinition of `append'
> > >
> > > C:/Arquivos de programas/Microsoft Visual
> > > Studio/VC98/include/xstring:100: previ
> > > ously defined here
> > > C:\AC>
> > >
> > > May someone please take the issue more seriously, as it
> > > prevents using ac++ on any non-
trivial C++ project. I can't
> > > find any way of working around this :(
> > >
> > > Thanks in advance and best regards,
> > >   Thiago A. Correa
> > >
> > >
> > >
> > > ---
> > > Acabe com aquelas janelinhas que pulam na sua tela.
> > > AntiPop-up UOL - É grátis!
> > > http://antipopup.uol.com.br
> > >
> > >
> > > _______________________________________________
> > > aspectc-user mailing list
> > > aspectc-user at aspectc.org
> > > http://www.aspectc.org/mailman/listinfo/aspectc-user
> 
> 
> _______________________________________________
> aspectc-user mailing list
> aspectc-user at aspectc.org
> http://www.aspectc.org/mailman/listinfo/aspectc-user
> 
> 
> ************************************************************
**********
> The information contained in this communication is
> confidential, is intended only for the use of the recipient
> named above, and may be legally privileged.
> If the reader of this message is not the intended
> recipient, you are hereby notified that any dissemination, 
> distribution, or copying of this communication is strictly
> prohibited.
> If you have received this communication in error,
> please re-send this communication to the sender and
> delete the original message or any copy of it from your
> computer system. Thank You.
> 
> 

 
---
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis! 
http://antipopup.uol.com.br





More information about the aspectc-user mailing list