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 #3 from dave.anglin at bell dot net 2011-11-27 21:30:07 UTC ---
On 27-Nov-11, at 4:18 PM, John David Anglin wrote:

> 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;


Problem is the clockid_t is an enum.

--
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]