Hi,

Testing the RC with Visual studio 2008, 2010 and 2012 in 32bit mode gives compilation errors for file tclParse.c:

c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\sys/stat.inl(44) : error C2466: cannot allocate an array of constant size 0
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\sys/stat.inl(49) : error C2466: cannot allocate an array of constant size 0
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\sys/timeb.inl(46) : error C2466: cannot allocate an array of constant size 0
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\sys/utime.inl(39) : error C2466: cannot allocate an array of constant size 0
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\sys/utime.inl(44) : error C2466: cannot allocate an array of constant size 0
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\sys/utime.inl(49) : error C2466: cannot allocate an array of constant size 0
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\sys/utime.inl(78) : error C2466: cannot allocate an array of constant size 0

Using Visual studio 2010 and 2012 in 64 bit mode compilation is OK.

The failing code in sys/stat.inl looks like this:

#ifndef _STATIC_ASSERT
#define _STATIC_ASSERT(expr) typedef char __static_assert_t[ (expr) ]
#endif

#if     !__STDC__

/* Non-ANSI names for compatibility */

#ifdef _USE_32BIT_TIME_T
static __inline int __CRTDECL fstat(int _Desc, struct stat * _Stat)
{
    _STATIC_ASSERT( sizeof(struct stat) == sizeof(struct _stat32) );
    return _fstat32(_Desc,(struct _stat32 *)_Stat);
}

Jos.


On Tue, Sep 3, 2013 at 9:42 PM, Donald G Porter <donald.porter@nist.gov> wrote:

The first attempts at constructing 8.6.1 releases for Tcl and Tk are
now found at these URLs:

    ftp://ftp.tcl.tk/pub/tcl/tcl8_6/tcl8.6.1rc0-src.tar.gz
    ftp://ftp.tcl.tk/pub/tcl/tcl8_6/tk8.6.1rc0-src.tar.gz
    ftp://ftp.tcl.tk/pub/tcl/tcl8_6/tcl8.6.1rc0-html.tar.gz

There are a number of active bug tickets, and it's likely some of
them will get fixes to go into the actual 8.6.1 release.  Still it
will be helpful to get started testing these files in order to
uncover any other serious problems that need fixing.  Reporting build
problems, bugs, other concerns about these RCs is encouraged.

Of possibly greater importance is that of all the bundled packages,
only sqlite3 has had a release update compared with what went out in
Tcl 8.6.0.  I know that some of these packages have bug fixes since
then, so this is a good chance to get those fixes sent out by just
getting package releases done in time to hitch the ride on Tcl 8.6.1.
Contact me about any plans in that regard, and let me know if you
need my assistance.

This release is only 3 tarballs.  Subsequent releases will ramp up to
the full "eleven downloadable files" configuration that was used to
release 8.6.0.

--
| Don Porter            Applied and Computational Mathematics Division |
| donald.porter@nist.gov             Information Technology Laboratory |
| http://math.nist.gov/~DPorter/                                  NIST |
|______________________________________________________________________|



------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Tcl-Core mailing list
Tcl-Core@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcl-core