Menu

can't compile with vs 2008

zealotous
2010-04-23
2013-05-28
  • zealotous

    zealotous - 2010-04-23
    cl -c -I.. -I. -I. -Iwinnt -Id:\mstools\include  -DHAVE_CONFIG_H -DHAVE_DIRENT_H -DWINNT -W3 -WX -MT -YX -J -nologo -O2 -Fobuiltin.o builtin.c
    builtin.c
    c:\temp\zsh\zsh-nt\src\globals.h(576) : error C2065: 'SIGCOUNT' : undeclared identifier
    c:\temp\zsh\zsh-nt\src\globals.h(576) : error C2057: expected constant expression
    c:\temp\zsh\zsh-nt\src\globals.h(576) : error C2466: cannot allocate an array of constant size 0
    c:\temp\zsh\zsh-nt\src\globals.h(580) : error C2065: 'SIGCOUNT' : undeclared identifier
    c:\temp\zsh\zsh-nt\src\globals.h(580) : error C2057: expected constant expression
    c:\temp\zsh\zsh-nt\src\globals.h(580) : error C2466: cannot allocate an array of constant size 0
    builtin.c(521) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    builtin.c(700) : error C2065: 'SIGCOUNT' : undeclared identifier
    builtin.c(701) : error C2065: 'sigs' : undeclared identifier
    builtin.c(701) : warning C4022: 'cstrpcmp' : pointer mismatch for actual parameter 1
    builtin.c(703) : error C2065: 'SIGCOUNT' : undeclared identifier
    builtin.c(719) : error C2065: 'SIGCOUNT' : undeclared identifier
    builtin.c(720) : error C2065: 'sigs' : undeclared identifier
    builtin.c(720) : error C2109: subscript requires array or pointer type
    builtin.c(728) : error C2065: 'sigs' : undeclared identifier
    builtin.c(728) : error C2109: subscript requires array or pointer type
    builtin.c(729) : error C2065: 'SIGCOUNT' : undeclared identifier
    builtin.c(730) : error C2065: 'sigs' : undeclared identifier
    builtin.c(730) : error C2109: subscript requires array or pointer type
    builtin.c(740) : error C2065: 'SIGCOUNT' : undeclared identifier
    builtin.c(741) : error C2065: 'sigs' : undeclared identifier
    builtin.c(741) : warning C4022: 'cstrpcmp' : pointer mismatch for actual parameter 1
    builtin.c(745) : error C2065: 'SIGCOUNT' : undeclared identifier
    builtin.c(1091) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    builtin.c(1092) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    builtin.c(1245) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    builtin.c(1302) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    builtin.c(1308) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    builtin.c(1316) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    builtin.c(2716) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    builtin.c(2718) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    builtin.c(2803) : warning C4244: '=' : conversion from 'time_t' to 'long', possible loss of data
    builtin.c(3475) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    builtin.c(4932) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    builtin.c(5713) : error C2065: 'SIGCOUNT' : undeclared identifier
    builtin.c(5718) : error C2065: 'sigs' : undeclared identifier
    builtin.c(5718) : error C2109: subscript requires array or pointer type
    builtin.c(5724) : error C2065: 'sigs' : undeclared identifier
    builtin.c(5724) : error C2109: subscript requires array or pointer type
    builtin.c(5729) : error C2065: 'sigs' : undeclared identifier
    builtin.c(5729) : error C2109: subscript requires array or pointer type
    builtin.c(5741) : error C2065: 'SIGCOUNT' : undeclared identifier
    builtin.c(5998) : error C2065: 'SIGCOUNT' : undeclared identifier
    builtin.c(6002) : error C2065: 'SIGCOUNT' : undeclared identifier
    builtin.c(6003) : error C2065: 'sigs' : undeclared identifier
    builtin.c(6003) : error C2109: subscript requires array or pointer type
    builtin.c(6003) : error C2168: 'strcmp' : too few actual parameters for intrinsic function
    
     
  • Anonymous

    Anonymous - 2012-07-06

    any updates?

    I get the same error when compiling using vs2010 too under win7 x64bit.

     
  • Anonymous

    Anonymous - 2012-07-06

    sf.net  forums not best place for searching help :-).
    WinZsh project seems to be alive.

    Please try to compile from git sources
    https://sourceforge.net/scm/?type=git&group_id=294655

     

Log in to post a comment.