Brian Gladman wrote:
On 02/04/2014 19:57, Bill Hart wrote:
I have recently made quite a few changes to format specifiers in test
code, so I hope this is all still ok on Windows. If not, please let me
know. I didn't fix this problem permanently, which I think will involve
adding some new format specifiers to gmp_printf and using it instead of
printf, since MSVC doesn't support the c99 format specifiers. But this
can wait until the next release.
Or perhaps there is a way to make recent MSVC accept C99 format
specifiers for uintmax_t, intmax_t and size_t and a workaround for %ld
vs %lld.
As of Visual Studio 2013 it does :-)
VS 2013 has gone a long way towaards C99 and C++ 11. See the links
below if you are interested in the details:
http://msdn.microsoft.com/en-us/library/hh409293.aspx
http://blogs.msdn.com/b/vcblog/archive/2013/07/19/c99-library-support-in-visual-studio-2013.aspx
http://msdn.microsoft.com/en-us/library/hh567368.aspx
Of course this is not much help if we want to continue support for
previous versions :-(
Why don't you just use the macros (PRI...) from inttypes.h, and,
depending on HAVE_INTTYPES_H and/or the MSVC version, define the few you
need yourself?
(Or did I miss something?)
-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
You received this message because you are subscribed to the Google Groups
"mpir-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to mpir-devel+unsubscr...@googlegroups.com.
To post to this group, send email to mpir-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/mpir-devel.
For more options, visit https://groups.google.com/d/optout.