[Bug libstdc++/69881] with gcc-6 of today building gcc-4.9 fails

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Sun Feb 21 08:11:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69881

--- Comment #14 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
OK, I built the ecos cross compiler now.
It works.  But eCos headers don't work well with C99 because of
duplicate symbols with inline functions, so I have to use -std=c89,
but that started with gcc-5, so that was no surprise.  The new C++
standard does not make any problems at least.

confirmed, that offsetof is defined by including <cstddef> now,
but not by this for instance:

#define __need_NULL
#define __need_offsetof
#include <stddef.h>


More information about the Gcc-bugs mailing list