This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/51307] [4.7 Regression] s-taprop.adb:676:25: "CLOCK_RT_Ada" not declared in "OS_Constants"


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51307

--- Comment #2 from dave.anglin at bell dot net 2011-11-27 21:18:46 UTC ---
On 26-Nov-11, at 6:40 PM, ebotcazou at gcc dot gnu.org wrote:

> Probably a missing CLOCK_REALTIME on the system (11.31 apparently  
> has it).  You
> need to add something to the Threads support section of s-oscons- 
> tmplt.c.


System seems to have CLOCK_REALTIME.  Even HP-UX 10.20 has it :

typedef enum __clockid_t {
         CLOCK_INVALID = 0,
         CLOCK_REALTIME = 1,     /* the system-wide "wall clock" */
         CLOCK_VIRTUAL = 2,      /* the per-process user execution  
clock */
         CLOCK_PROFILE = 4,      /* the per-process execution clock */
         RTTIMER0 = 8,
         RTTIMER1 = 16
} clockid_t;

--
John David Anglin    dave.anglin@bell.net


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]