simplexml, shared

[email protected] ("Pierre Joye")
Newsgroups php.internals.win
Message-ID <[email protected]>
hi!

Rob, can you take a look at 5.3-cvs, simplexml can't be built shared:

C:\php-sdk\php53\vc9\x86\PHP_5_3>nmake

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

simplexml.c
ext\simplexml\simplexml.c(44) : error C2491:
'sxe_get_element_class_entry' : definition of dllimport function not
allowed
ext\simplexml\simplexml.c(2087) : error C2491: 'sxe_object_new' :
definition of dllimport function not allowed
ext\simplexml\simplexml.c(2348) : error C2491:
'php_sxe_move_forward_iterator' : definition of dllimport function not
allowe
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual
Studio 9.0\VC\Bin\cl.exe"' : return code '0x2'
Stop.

There is another issue with libxml but it is temporary fixed :)

Cheers,
-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.