This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/51307] [4.7 Regression] s-taprop.adb:676:25: "CLOCK_RT_Ada" not declared in "OS_Constants"
- From: "dave.anglin at bell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 27 Nov 2011 21:18:46 +0000
- Subject: [Bug ada/51307] [4.7 Regression] s-taprop.adb:676:25: "CLOCK_RT_Ada" not declared in "OS_Constants"
- Auto-submitted: auto-generated
- References: <bug-51307-4@http.gcc.gnu.org/bugzilla/>
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