#766 closed defect (fixed)

__RTEMS_APPLICATION__

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: normal Milestone: 4.9
Component: score Version: unknown
Severity: major Keywords:
Cc: bugs@…, sebastian.huber@…, gedare@… Blocked By:
Blocking:

Description

I fail to see the usefulness of RTEMS_APPLICATION as it is being used in various places headers in RTEMS:
#ifndef RTEMS_APPLICATION
#include <some.inl>
#endif

Is this supposed to separate "private" vs. "public" parts of the headers? By default RTEMS_APPLICATION is undefined, so this doesn't work.

Is this supposed to separate "kernel" vs. "application"?
This also doesn't work, because all files referrenced are public.

Is this just code rott?

Yes, I know it is set in rtems/rtems.h:
#if (!defined(RTEMS_VIOLATE_KERNEL_VISIBILITY)) && (!defined(RTEMS_INSIDE))
#define RTEMS_APPLICATION
#endif

Release:
unknown

Change History (6)

comment:1 Changed on Sep 1, 2005 at 1:50:24 PM by Joel Sherrill

Status: assignedwaiting

comment:2 Changed on Aug 5, 2008 at 3:07:45 PM by Joel Sherrill

Milestone: 4.9
rep_platform: All
Resolution: wontfix
Status: assignedclosed

comment:3 Changed on Aug 8, 2008 at 4:16:42 AM by Ralf Corsepius

Resolution: wontfix
Status: closedreopened

comment:4 Changed on Nov 22, 2012 at 3:39:48 PM by Sebastian Huber

Cc: Sebastian Huber added

comment:5 Changed on Nov 26, 2012 at 4:33:36 PM by Gedare Bloom

Cc: Gedare Bloom added
Note: See TracTickets for help on using tickets.