php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58385 VC9 Compile error in apc_signal.c
Submitted: 2008-10-19 16:23 UTC Modified: 2008-10-20 13:12 UTC
From: php at dougweb dot org Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 5_3 CVS-2008-10-19 (dev) OS: Windows Vista
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at dougweb dot org
New email:
PHP Version: OS:

 

 [2008-10-19 16:23 UTC] php at dougweb dot org
Description:
------------
Compiling...
pgsql_s_lock.c
apc_spin.c
apc_signal.c
.\apc_signal.c(44) : error C2143: syntax error : missing ')' before '*'
.\apc_signal.c(44) : error C2081: 'siginfo_t' : name in formal parameter list illegal
.\apc_signal.c(44) : error C2143: syntax error : missing ')' before '*'
.\apc_signal.c(44) : error C2143: syntax error : missing '{' before '*'
.\apc_signal.c(44) : error C2059: syntax error : ','
.\apc_signal.c(44) : error C2059: syntax error : ')'
.\apc_signal.c(44) : error C2059: syntax error : ')'
.\apc_signal.c(45) : error C2143: syntax error : missing ')' before '*'
.\apc_signal.c(45) : error C2081: 'siginfo_t' : name in formal parameter list illegal
.\apc_signal.c(45) : error C2143: syntax error : missing '{' before '*'
.\apc_signal.c(45) : error C2059: syntax error : 'type'
.\apc_signal.c(45) : error C2059: syntax error : ')'
.\apc_signal.c(46) : error C2143: syntax error : missing ')' before '*'
.\apc_signal.c(46) : error C2081: 'siginfo_t' : name in formal parameter list illegal
.\apc_signal.c(46) : error C2143: syntax error : missing '{' before '*'
.\apc_signal.c(46) : error C2059: syntax error : 'type'
.\apc_signal.c(46) : error C2059: syntax error : ')'
.\apc_signal.c(51) : error C2143: syntax error : missing ')' before '*'
.\apc_signal.c(51) : error C2081: 'siginfo_t' : name in formal parameter list illegal
.\apc_signal.c(51) : error C2143: syntax error : missing '{' before '*'
.\apc_signal.c(51) : error C2059: syntax error : 'type'
.\apc_signal.c(51) : error C2059: syntax error : ')'
.\apc_signal.c(66) : error C2143: syntax error : missing ')' before '*'
.\apc_signal.c(66) : error C2081: 'siginfo_t' : name in formal parameter list illegal
.\apc_signal.c(66) : error C2143: syntax error : missing '{' before '*'
.\apc_signal.c(66) : error C2059: syntax error : 'type'
.\apc_signal.c(66) : error C2059: syntax error : ')'
.\apc_signal.c(88) : error C2143: syntax error : missing ')' before '*'
.\apc_signal.c(88) : error C2081: 'siginfo_t' : name in formal parameter list illegal
.\apc_signal.c(88) : error C2143: syntax error : missing ')' before '*'
.\apc_signal.c(88) : error C2143: syntax error : missing '{' before '*'
.\apc_signal.c(88) : error C2059: syntax error : ','
.\apc_signal.c(88) : error C2059: syntax error : ')'
.\apc_signal.c(88) : error C2059: syntax error : ')'
.\apc_signal.c(136) : warning C4013: 'apc_register_signal' undefined; assuming extern returning int
.\apc_signal.c(136) : error C2065: 'apc_core_unmap' : undeclared identifier
.\apc_signal.c(137) : error C2065: 'apc_core_unmap' : undeclared identifier
.\apc_signal.c(138) : error C2065: 'apc_core_unmap' : undeclared identifier
.\apc_signal.c(139) : error C2065: 'apc_core_unmap' : undeclared identifier
apc_sem.c
apc_pthreadmutex.c
apc_pool.c
apc_mmap.c
apc_iterator.c
.\apc_iterator.c(95) : warning C4244: 'function' : conversion from 'time_t' to 'long', possible loss of data
.\apc_iterator.c(96) : warning C4244: 'function' : conversion from 'time_t' to 'long', possible loss of data
.\apc_iterator.c(97) : warning C4244: 'function' : conversion from 'time_t' to 'long', possible loss of data
.\apc_iterator.c(98) : warning C4244: 'function' : conversion from 'time_t' to 'long', possible loss of data
.\apc_iterator.c(350) : warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(215) : see declaration of 'stricmp'
apc_fcntl.c
php_apc.c
.\php_apc.c(326) : warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(215) : see declaration of 'stricmp'
.\php_apc.c(328) : warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(215) : see declaration of 'stricmp'
.\php_apc.c(350) : warning C4244: 'function' : conversion from 'time_t' to 'long', possible loss of data
.\php_apc.c(399) : warning C4244: 'function' : conversion from 'time_t' to 'long', possible loss of data
.\php_apc.c(400) : warning C4244: 'function' : conversion from 'time_t' to 'long', possible loss of data
.\php_apc.c(401) : warning C4244: 'function' : conversion from 'time_t' to 'long', possible loss of data
.\php_apc.c(402) : warning C4244: 'function' : conversion from 'time_t' to 'long', possible loss of data
.\php_apc.c(429) : warning C4244: 'function' : conversion from 'time_t' to 'long', possible loss of data
.\php_apc.c(430) : warning C4244: 'function' : conversion from 'time_t' to 'long', possible loss of data
.\php_apc.c(431) : warning C4244: 'function' : conversion from 'time_t' to 'long', possible loss of data
.\php_apc.c(432) : warning C4244: 'function' : conversion from 'time_t' to 'long', possible loss of data
.\php_apc.c(454) : warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(215) : see declaration of 'stricmp'
apc_zend.c
apc_stack.c
apc_sma.c
.\apc_sma.c(361) : warning C4018: '<' : signed/unsigned mismatch
.\apc_sma.c(424) : warning C4018: '<' : signed/unsigned mismatch
.\apc_sma.c(466) : warning C4018: '<' : signed/unsigned mismatch
.\apc_sma.c(532) : warning C4018: '<' : signed/unsigned mismatch
.\apc_sma.c(568) : warning C4018: '<' : signed/unsigned mismatch
.\apc_sma.c(575) : warning C4018: '<' : signed/unsigned mismatch
.\apc_sma.c(634) : warning C4018: '<' : signed/unsigned mismatch
apc_shm.c
.\apc_shm.c(68) : warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(126) : see declaration of 'strerror'
apc_rfc1867.c
.\apc_rfc1867.c(99) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
.\apc_rfc1867.c(101) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
.\apc_rfc1867.c(110) : warning C4996: 'strnicmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strnicmp. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(217) : see declaration of 'strnicmp'
.\apc_rfc1867.c(124) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy'
.\apc_rfc1867.c(126) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy'
.\apc_rfc1867.c(144) : warning C4018: '>' : signed/unsigned mismatch
apc_main.c
.\apc_main.c(462) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\stdio.h(237) : see declaration of 'fopen'
apc_fcntl_win32.c
apc_debug.c
apc_compile.c
.\apc_compile.c(511) : warning C4018: '<' : signed/unsigned mismatch
.\apc_compile.c(594) : warning C4018: '<' : signed/unsigned mismatch
.\apc_compile.c(843) : warning C4018: '<' : signed/unsigned mismatch
.\apc_compile.c(930) : warning C4018: '<' : signed/unsigned mismatch
apc_cache.c
.\apc_cache.c(154) : warning C4244: 'initializing' : conversion from 'time_t' to 'int', possible loss of data
Generating Code...
c:\compiles\sources\php-sdk\php-5.3.0alpha2\ext\apc\apc_iterator.c(134) : warning C4700: uninitialized local variable 'value' used
c:\compiles\sources\php-sdk\php-5.3.0alpha2\ext\apc\apc_pool.c(91) : warning C4700: uninitialized local variable 'upool' used
Compiling...
apc.c
.\apc.c(131) : warning C4996: 'ctime': This function or variable may be unsafe. Consider using ctime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\time.inl(88) : see declaration of 'ctime'
.\apc.c(138) : warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(126) : see declaration of 'strerror'
.\apc.c(296) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy'
.\apc.c(304) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy'
Generating Code...



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-10-20 13:12 UTC] shire@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 19 14:00:02 2025 UTC