> Some patch within the last week has broken Tru64 UNIX Ada bootstrap: > > s-taprop.adb:46:12: warning: no entities of "Os_Constants" are > referenced > s-taprop.adb:58:04: warning: no entities of "OSC" are referenced > s-taprop.adb:594:35: "CLOCK_RT_Ada" not declared in "OS_Constants" > make[6]: *** [s-taprop.o] Error 1 > > The definition of CLOCK_REALTIME in <time.h> is only visible if > _POSIX_C_SOURCE >= 199309L, which isn't the case by default, but implied > by _XOPEN_SOURCE = 500. > > The following patch does this and allowed the build to complete. make > check is still running. > > Ok for mainline if it passes? > > Rainer > > 2011-12-20 Rainer Orth <r...@cebitec.uni-bielefeld.de> > > gcc/ada: > * s-oscons-tmplt.c [__alpha__ && __osf__] (_XOPEN_SOURCE): Define.
OK, thanks.