[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pc386 fails to build



Reply to my own mail.

> This is the egcs-1.1b assert macro.  Compiling with the -E flag shows
> that the definition of __assert is being replaced with this macro
> expansion.  The assert.h from newlib-1.8.0 is not being included.
> newlib-1.8.0 properly defines the __assert function.
>
> How do we fix this?
>

This is the workaround I implemented in pc386/console.c.  First undefine __assert then declare as function prototype.  It appears
to work.

#undef __assert
void __assert( const char etc, etc...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vcard.vcf
Type: text/x-vcard
Size: 291 bytes
Desc: Card for Erik Ivanenko
Url : http://rtems.rtems.org/pipermail/rtems-users/attachments/19980928/d2035f78/attachment.vcf