php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61410 Compilation VC9
Submitted: 2012-03-16 00:19 UTC Modified: 2015-06-15 06:50 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: ricardo dot nuno dot rodrigues at hotmail dot com Assigned: patrickallaert (profile)
Status: Wont fix Package: APM (PECL)
PHP Version: 5.4.0 OS: Windows 7 32bit
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-03-16 00:19 UTC] ricardo dot nuno dot rodrigues at hotmail dot com
Description:
------------
Trying to compile gives:

Recreating build dirs
apm.c
ext\apm\apm.c(299) : error C2275: 'apm_event_entry' : illegal use of this type a
s an expression
        c:\php-sdk\php54\vc9\x86\php_5.4.0\ext\apm\php_apm.h(58) : see declarati
on of 'apm_event_entry'
ext\apm\apm.c(299) : error C2065: 'event_entry_cursor' : undeclared identifier
ext\apm\apm.c(300) : error C2275: 'apm_event_entry' : illegal use of this type a
s an expression
        c:\php-sdk\php54\vc9\x86\php_5.4.0\ext\apm\php_apm.h(58) : see declarati
on of 'apm_event_entry'
ext\apm\apm.c(300) : error C2065: 'event_entry_cursor_next' : undeclared identif
ier
ext\apm\apm.c(300) : error C2065: 'event_entry_cursor' : undeclared identifier
ext\apm\apm.c(300) : error C2223: left of '->next' must point to struct/union
ext\apm\apm.c(301) : error C2065: 'event_entry_cursor' : undeclared identifier
ext\apm\apm.c(301) : error C2065: 'event_entry_cursor_next' : undeclared identif
ier
ext\apm\apm.c(301) : warning C4047: '!=' : 'int' differs in levels of indirectio
n from 'void *'
ext\apm\apm.c(302) : error C2065: 'event_entry_cursor' : undeclared identifier
ext\apm\apm.c(302) : error C2223: left of '->event' must point to struct/union
ext\apm\apm.c(302) : error C2198: 'free' : too few arguments for call
ext\apm\apm.c(303) : error C2065: 'event_entry_cursor' : undeclared identifier
ext\apm\apm.c(303) : error C2223: left of '->event' must point to struct/union
ext\apm\apm.c(303) : error C2198: 'free' : too few arguments for call
ext\apm\apm.c(304) : error C2065: 'event_entry_cursor' : undeclared identifier
ext\apm\apm.c(304) : error C2223: left of '->event' must point to struct/union
ext\apm\apm.c(304) : error C2198: 'free' : too few arguments for call
ext\apm\apm.c(305) : error C2065: 'event_entry_cursor_next' : undeclared identif
ier
ext\apm\apm.c(305) : error C2065: 'event_entry_cursor' : undeclared identifier
ext\apm\apm.c(305) : error C2223: left of '->next' must point to struct/union
ext\apm\apm.c(306) : error C2065: 'event_entry_cursor' : undeclared identifier
ext\apm\apm.c(306) : warning C4022: 'free' : pointer mismatch for actual paramet
er 1
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\Bin
\cl.exe"' : return code '0x2'
Stop.

C:\php-sdk\php54\vc9\x86\php_5.4.0>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-20 22:59 UTC] patrickallaert@php.net
-Assigned To: +Assigned To: patrickallaert
 [2015-06-15 06:50 UTC] patrickallaert@php.net
-Status: Assigned +Status: Wont fix
 [2015-06-15 06:50 UTC] patrickallaert@php.net
Windows compilation won't be fixed as APM support for windows will only be available as of version 2.1
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri May 24 14:01:26 2019 UTC