[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 19:43:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #10 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-10-07 19:43:25 UTC ---
(In reply to comment #9)
>
> I can certainly participate. I just need to make sure that I don't read any
> code snippets that are GPL3 licensed.
>
Well it is absurd to read bugzilla and not expect to run across GPLv3 code
fragments. In any case,
this minor change the configure test compiles and runs fine on
x86_64-apple-darwin11...
#include <unistd.h>
#include <time.h>
int
main ()
{
#if _POSIX_TIMERS > 0
timespec tp;
#else
struct timespec tp;
#endif
nanosleep(&tp, 0);
;
return 0;
}
ISo the question is whether the header fragment needs any adjustment once the
configure passes the check for nanosleep() support. I'll test locally.
Paolo, are there any specific libstdc++-v3 test cases that I should look at
once libstc++-v3 is using nanosleep() to check for proper function?
More information about the Gcc-bugs
mailing list