#310 closed defect (fixed)

setjmp.h not set up for RTEMS properly

Reported by: Eric Norum Owned by: Joel Sherrill
Priority: normal Milestone: 2
Component: unspecified Version: unknown
Severity: major Keywords:
Cc: bugs@… Blocked By:
Blocking:

Description

The machine/setjmp.h header file is not getting the correct set of preprocessor conditionals for rtems. It appears the _JBLEN is not being set properly, which prevents the final

#if defined(CYGWIN)
defined(rtems)

conditional from being seen.

Joel -- I'm sure we've seen this one before.....

Release:
rtems-cvs, rtems-ss-20021111

How-To-Repeat:
eric@TiRex? 811> cat a.c
#include <setjmp.h>
sigjmp_buf foo;
eric@TiRex? 812> make
i386-rtems-gcc --pipe -B/opt/rtems/i386-rtems/pc386/lib/ -specs bsp_specs -qrtems -g -Wall -g -O4 -c -o o-optimize/a.o a.c
a.c:2: parse error before "foo"
a.c:2: warning: type defaults to int' in declaration of foo'
a.c:2: warning: data definition has no type or storage class
make: * [o-optimize/a.o] Error 1

Change History (2)

comment:1 Changed on Jan 3, 2003 at 7:05:12 PM by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: Fixed in RTEMS patches and patch merged into newlib repository.

comment:2 Changed on Oct 10, 2017 at 6:35:44 AM by Sebastian Huber

Component: miscunspecified
Note: See TracTickets for help on using tickets.