Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Windows compile error _vsnprintf

Closed / Fixed42b80836133be3e9272b8fbc80e2c1b5dc2da4c5Created 13 years agoUpdated 13 years ago
Descriptionplain2013-06-17 14:32:56
Compile error on Windows with Visual Studio 9.0:

        cl -nologo -c -W3 -DUNICODE -D_UNICODE -W3 -D _CRT_SECURE_NO_DEPRECATE -
D _CRT_NONSTDC_NO_DEPRECATE -Fp.\Release_VC9\tcl_ThreadedDynamic\ -O2  -Ot -Oi -
fp:strict -Gs -GS -GL -DTCL_CFGVAL_ENCODING=\"utf-8\" -DSTDC_HEADERS -DTCL_THREA
DS=1 -DUSE_THREAD_ALLOC=1 -DNDEBUG -DTCL_CFG_OPTIMIZED -Zl -DSTATIC_BUILD -I"X:\
target\staff\koen\src\tcl\win\..\win" -I"X:\target\staff\koen\src\tcl\win\..\gen
eric" -I"X:\target\staff\koen\src\tcl\win\..\libtommath" -Fo.\Release_VC9\tcl_Th
readedDynamic\tclStubLib.obj X:\target\staff\koen\src\tcl\win\..\generic\tclStub
Lib.c
tclStubLib.c
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(358) : err
or C3163: '_vsnprintf': attributes inconsistent with previous declaration
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(35
0) : see declaration of '_vsnprintf'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\BIN\cl.EXE"' : return code '0x2'
Referenced by1
jan.nijtmanswiki2013-06-17 17:05:25

Should be fixed now in [486c1f031e]

Log in (anonymous is fine) to add a comment.