#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 01/03/03 at 19:05:12 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 10/10/17 at 06:35:44 by Sebastian Huber

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