[Bug ada/51307] [4.7 Regression] s-taprop.adb:676:25: "CLOCK_RT_Ada" not declared in "OS_Constants"
dave.anglin at bell dot net
gcc-bugzilla@gcc.gnu.org
Sun Nov 27 21:44:00 GMT 2011
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
More information about the Gcc-bugs
mailing list