GCC 4.8 RTEMS patch

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Apr 17 11:25:27 UTC 2013


Hello,

in the current GCC 4.8 RTEMS patch

http://git.rtems.org/rtems-crossrpms.git/tree/patches/gcc-4.8.0-rtems4.11-20130326.diff

there are several

+/* Use the defaults */
+#undef WCHAR_TYPE
+
+#undef WCHAR_TYPE_SIZE

with a change log of

+2009-11-04	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* config/m32c/rtems.h, config/m68k/rtemself.h,
+	config/m68k/rtemself.h, config/sh/rtemself.h,
+	config/sparc/rtemself.h: Undef WCHAR_TYPE_SIZE, WCHAR_TYPE.
+	(Resets WCHAR_TYPE's to defaults. Prevents broken GCC tm_files
+	to interfere and cause wchar_t/wint_t incompatibilities).

What is the reason for these patches?

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list