I found an old cygwin forum and they were having the same problem with
the rpl_gettimeofday already defined .
Apparently the GNU gettimeofday is incompatible with the fact that system
/sys/time.h and /sys/select.h referr to each other and it causes a
re-occurence.
By commenting out #include <sys/select.h> from sys/time.h (the one in a
rm-unknown-riscos/include ) the gettimeofdays blues were magically gone.
If this is a reliable cure for this common porting issue, It would require
a fix in the gcc include.
Assuming there is sometimes a need for #include <sys/select.h> would it be
possible to have an ifdef that recognises a GNU gettimeofday is active?
It appears that the GNU gettimeofday additional libraries are fairly
standardised in the ports.
Ron M.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment