This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: STLPort & eCos again
- From: Peter Korsgaard <jacmet at sunsite dot dk>
- To: "Santiago Lafon" <lafon at fing dot edu dot uy>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 23 Nov 2004 21:32:54 +0100
- Subject: Re: [ECOS] STLPort & eCos again
- References: <00d601c4d165$9a501c60$6400a8c0@santiagol>
>>>>> "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