[RTEMS Project] #1707: Recent signal.h from Newlib breaks RTEMS build

RTEMS trac trac at rtems.org
Sat Nov 22 12:05:55 UTC 2014


#1707: Recent signal.h from Newlib breaks RTEMS build
-----------------------------+-----------------------------
 Reporter:  sebastian.huber  |       Owner:  ralf.corsepius
     Type:  defect           |      Status:  closed
 Priority:  normal           |   Milestone:  4.11
Component:  Newlib           |     Version:  4.11
 Severity:  normal           |  Resolution:  invalid
 Keywords:                   |
-----------------------------+-----------------------------
Changes (by gedare):

 * version:  unspecified => 4.11
 * milestone:   => 4.11


Old description:

> The current 'newlib/libc/include/signal.h' defines this:
>
> #ifndef _POSIX_SOURCE
> typedef _sig_func_ptr sighandler_t;     /* glibc naming */
> #endif /* !_POSIX_SOURCE */
>
> This results in a build error of 'cpukit/posix/src/signal_2.c' due to:
>
> typedef void (*sighandler_t)(int);

New description:

 The current 'newlib/libc/include/signal.h' defines this:

 #ifndef _POSIX_SOURCE
 typedef _sig_func_ptr sighandler_t;     /* glibc naming */
 #endif /* !_POSIX_SOURCE */

 This results in a build error of 'cpukit/posix/src/signal_2.c' due to:

 typedef void (*sighandler_t)(int);

--

--
Ticket URL: <http://devel.rtems.org/ticket/1707#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list