[ntp:questions] p351 fails to build on MSVC++2008EE
martin.burnicki at meinberg.de
Fri Jan 25 13:23:44 UTC 2013
Chuck Swiger wrote:
> On 24/01/2013 12:52, Mischanko, Edward T wrote:
>> I thought we were going to fix this?
>> : fatal error C1083: Cannot open include file: 'inttypes.h'
>> : No such file or directory
>> Are we still working on this?
> David's suggestion to adjust the includes is the autoconf-style change;
> anyway, I'm not sure that many Windows boxes have a sufficiently
> POSIX-compliant shell to run ./configure without installing Cygwin or similar.
> As an alternative, there's an inttypes.h for MSVC here:
It would be pretty easy to fix this directly in the NTP source code.
However, IMO adding a "proprietary" inttypes.h to the NTP source is
going to cause confusion if we'd start to support cygwin, mingw or
whatever to build NTP under Windows.
Those environmenrts come with their own inttypes.h, and if there is a
special NTP version of this file for Windows it depends on the sequence
of header search paths which of the files would be found at first.
What David has suggested, which is what I had previously suggested to
David, is a temporary hack which will fix the build unter Windows until
the gnu autogen tool has been updated.
For more details for the reasons why this solution is IMO appropriate
see my comment on bugzilla:
More information about the questions