[Bug libstdc++/54847] --enable-libstdcxx-time=yes non-functional on darwin

howarth at nitro dot med.uc.edu gcc-bugzilla@gcc.gnu.org
Sun Oct 7 18:54:00 GMT 2012


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

--- Comment #6 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-10-07 18:53:53 UTC ---
Also, for Jeremy's benefit (since he can't look at the sources), the current
configure test is...

#include <unistd.h>
         #include <time.h>

int
main ()
{
#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
          timespec tp;
         #endif
          clock_gettime(CLOCK_MONOTONIC, &tp);

  ;
  return 0;
}



More information about the Gcc-bugs mailing list