[BUG] defining functions as macros when UCLIBC_SUSV3_LEGACY is off
Amir Shalem
amir at boom.org.il
Fri Mar 24 16:27:27 UTC 2006
Hey
UCLIBC_SUSV3_LEGACY patch causes breakage when compiling libstdc++-v3
because one of libstdc headers contains this code:
size_t
index() const ...
which causes gcc to barf since it tries to translate the macro index(),
and fails.
I don't think we can replace the macros in <strings.h> and <string.h>
with inlines,
because we can't assume C99 compiler in there.
Amir.
More information about the uClibc
mailing list