Dear Andrew, Sorry for the late reply, but have been away of my computer.
1. _USE_32BIT_TIME_T Indeed, you are absolutely write. My Windows distribution had since 2011 to 2013 both Windows 32 and Windows 64 binaries. I was using more or less the same make and configuration files to build it. The define _USE_32BIT_TIME_T was used for the Windows 32 build but not for the Windows 64. The current version of my distribution only contains Windows 64 binaries and in fact the define is commented out in the makefile. Sorry for the time I made you waste on this point. 2. About the configuration I am using the tools made available by Visual Studio 2013 Professional Edition in the "VS2013 X64 Native Tools Command Prompt". That is: CL: Microsoft (R) C/C++ Optimizing Compiler Version 18.00.21005.1 for x64 LINK: Microsoft (R) Incremental Linker Version 12.00.21005.1 This is what I use and your questions below: COPTS = /EHsc /W3 /nologo /c DEFS = $(DEFS) /D "_WINDOWS" /D "TCL_THREADS=1" /D "WIN32" /D "_WIN32" \ /D "FD_SETSIZE=128" /D "NO_CONST=1" /D "_MBCS" # /D "_USE_32BIT_TIME_T" LOPTS = /NOLOGO /SUBSYSTEM:CONSOLE /OPT:NOREF /OPT:NOICF Did you comment out your _USE_32BIT_TIME_T there? [MM] Absolutely, I already explained what I did in point 1 and once again apologies. What does "/D _WIN32" do? [MM] This should be set automatically by the compiler, so in theory it is redundant... but one never knows... What C run-time library are you using? [MM] Visual C++ Redistributable Packages for Visual Studio 2013 (Release, No Debug) http://www.microsoft.com/en-us/download/details.aspx?id=40784 I do agree with your remarks in your mail, I had a look at the Visual Studio Project Files you use, the only relevant differences I can see are the following: 1. you are targeting as Machine_X64, I am targeting AMD64 2. you use Active TCL, I did compile from scratch also TCL, using the same compiler options (I believe this is very important as we have no control on how Active TCL is built) Hope this helps, Maurizio -----Original Message----- From: Andrew Piskorski [mailto:a...@piskorski.com] Sent: 07 October 2014 22:36 To: naviserver-devel@lists.sourceforge.net Subject: Re: [naviserver-devel] Naviserver hangs on Windows On Mon, Oct 06, 2014 at 05:18:08PM -0400, Andrew Piskorski wrote: > On Sun, Oct 05, 2014 at 09:37:39PM +0200, Maurizio Martignano wrote: > > > Did you use the define _USE_32BIT_TIME_T yes or not? > I haven't tried using _USE_32BIT_TIME_T yet, but I think using it > would be INCORRECT on Windows-64. If I do pass the "/D _USE_32BIT_TIME_T" flag, I get this: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\crtdefs.h(463) : fatal error C1189: #error : You cannot use 32-bit time_t (_USE_32BIT_TIME_T) with _WIN64 So that seems pretty clear, I must NOT set that flag. -- Andrew Piskorski <a...@piskorski.com> ---------------------------------------------------------------------------- -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel