This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Fw: STLPort & eCos again
- From: "Santiago Lafon" <lafon at fing dot edu dot uy>
- To: "Peter Korsgaard" <jacmet at sunsite dot dk>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 24 Nov 2004 17:39:24 -0300
- Subject: [ECOS] Fw: [ECOS] STLPort & eCos again
Thanks Peter
your patch works for me too (in addition with Zylin patchs)
i just have touch gcc-ecos.mak
Santiago
----- Original Message -----
From: "Peter Korsgaard" <jacmet@sunsite.dk>
To: "Santiago Lafon" <lafon@fing.edu.uy>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Tuesday, November 23, 2004 5:32 PM
Subject: Re: [ECOS] STLPort & eCos again
> >>>>> "Santiago" == Santiago Lafon <lafon@fing.edu.uy> writes:
>
> Santiago> ../stlport/stl/char_traits.h:150: error: parse error before
> Santiago> `;' token make: *** [../lib/obj/ecos/Release/codecvt.o]
> Santiago> Error 1
>
> The following patch works for me:
>
> --- orig/STLport-14032004/src/locale_catalog.cpp 2001-04-14
02:28:27.000000000 +0200
> +++ STLport-14032004/src/locale_catalog.cpp 2004-09-03 11:57:45.703125000
+0200
> @@ -277,7 +277,7 @@
> char composite_buf[_Locale_MAX_COMPOSITE_NAME];
> _Locale_compose_name(composite_buf,
> ctype_buf, numeric_buf, time_buf,
> - collate_buf, monetary_buf, messages_buf);
> + collate_buf, monetary_buf, messages_buf, 0);
> L->name = composite_buf;
> }
> }
> --- orig/STLport-14032004/stlport/stl/char_traits.h 2001-09-30
06:58:58.000000000 +0200
> +++ STLport-14032004/stlport/stl/char_traits.h 2004-09-03
12:56:36.453125000 +0200
> @@ -43,6 +43,10 @@
> #include <sys/types.h> // For off_t
> #endif /* __unix */
>
> +#ifndef _STLP_INTERNAL_CONSTRUCT_H
> +#include <stl/_construct.h>
> +#endif
> +
> #ifdef __BORLANDC__
> # include <mem.h>
> # include <string.h>
>
> --
> Bye, Peter Korsgaard
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss