Hi Brian, I have to go out, but ran a quick test. I get the following:
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -m64 -O3 -march=k8 -mtune=k8 -c misc.c -fPIC -DPIC -o .libs/misc.o misc.c: In function 'tests_rand_start': misc.c:115: warning: implicit declaration of function 'gettimeofday' misc.c: In function 'tests_hardware_setround': misc.c:487: error: 'FE_TONEAREST' undeclared (first use in this function) misc.c:487: error: (Each undeclared identifier is reported only once misc.c:487: error: for each function it appears in.) misc.c:488: error: 'FE_TOWARDZERO' undeclared (first use in this function) misc.c:489: error: 'FE_UPWARD' undeclared (first use in this function) misc.c:490: error: 'FE_DOWNWARD' undeclared (first use in this function) misc.c:494: warning: implicit declaration of function 'fegetround' misc.c:496: warning: implicit declaration of function 'fesetround' misc.c: In function 'tests_hardware_getround': misc.c:521: error: 'FE_TOWARDZERO' undeclared (first use in this function) misc.c:521: error: 'FE_DOWNWARD' undeclared (first use in this function) misc.c:521: error: 'FE_UPWARD' undeclared (first use in this function) misc.c:521: error: 'FE_TONEAREST' undeclared (first use in this function) make[4]: *** [misc.lo] Error 1 make[4]: Leaving directory `/home/wbhart/mpir-trunk/tests' So I guess misc.c needs config.h. Bill. On 13 October 2012 11:28, Brian Gladman <b...@gladman.plus.com> wrote: > -----Original Message----- From: Bill Hart > Sent: Saturday, October 13, 2012 12:48 AM > To: mpir-devel@googlegroups.com > Subject: Re: [mpir-devel] MPIR 2.6.0 alpha1 released > > I've replaced it with a macro. The poor man's portable inline. > > This seems to work (after correcting a bug in my first attempt). So > hopefully that bug is knocked on the head. > > Once Brian is happy that Windows is doing what it is supposed to, and > I've removed the internal symbol conflicts with flint, I'll issue > another alpha. > > ============================ > In addition to removing config.h from tests where it appears not to be > needed, I have changed the four (u)intmax_t tests (mpz.get_sx, mpz.get_ux, > mpz.set_sx, mpz.set_ux) to skip them if stdint.h is not available. > > Bill, in addition to checking that all the tests are still working on *nix, > can you please also check the logic for skipping tests in the (u)intmax_t > tests to ensure that this is correct on *nix. > > I don't think any more needs to be done on Windows. > > Brian > > > -- > You received this message because you are subscribed to the Google Groups > "mpir-devel" group. > To post to this group, send email to mpir-devel@googlegroups.com. > To unsubscribe from this group, send email to > mpir-devel+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/mpir-devel?hl=en. > -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir-devel@googlegroups.com. To unsubscribe from this group, send email to mpir-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en.