Edit report at https://bugs.php.net/bug.php?id=59323&edit=1

 ID:                 59323
 Comment by:         cannadark at pirateswar dot com
 Reported by:        arielpatschiki at gmail dot com
 Summary:            Fail to compile - spl_type.c:416: error: duplicate
                     ‘static’
 Status:             Closed
 Type:               Bug
 Package:            SPL_Types
 Operating System:   Linux CentoOS 5 - 2.6.18-194.3.1
 PHP Version:        5.3.2
 Assigned To:        davidc
 Block user comment: N
 Private report:     N

 New Comment:

Run into same error. I'll try to fix myself bu is it going to be a new release?


Previous Comments:
------------------------------------------------------------------------
[2011-08-19 12:22:58] gauthier dot delacroix at coreye dot fr

Seems that 7 months after the fix, version 0.3.1 still isn't available..?

------------------------------------------------------------------------
[2011-01-18 15:54:54] david at echolibre dot com

This bug has been fixed in SVN.

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.

This has been fixed in SVN and a release is coming shortly 
(0.3.1)

------------------------------------------------------------------------
[2010-09-13 06:43:58] jasonwyz98 at gmail dot com

Yep, got the same error:

/tmp/pear/temp/SPL_Types/spl_type.c: At top level:
/tmp/pear/temp/SPL_Types/spl_type.c:405: error: duplicate 
‘static’
/tmp/pear/temp/SPL_Types/spl_type.c:415: error: duplicate 
‘static’

Used the command "pecl install SPL_Types" to install the 
package.

Please fix.

Thanks
Jason

------------------------------------------------------------------------
[2010-07-26 16:38:22] arielpatschiki at gmail dot com

Description:
------------
When running the command "make", compiler fails and return a fatal error:

I Fixed the error by removing the word "static" from the 405 and 415 lines. The 
fix is written by Alex Dutra at the follow link: 

http://www.mail-archive.com/[email protected]/msg26685.html

Quoting: "The macro ZEND_BEGIN_ARG_INFO_EX already includes 'static const'
keywords in the signature, so it's enough to remove the additional 'static'"

Reproduce code:
---------------
make

Expected result:
----------------
Build complete.

Actual result:
--------------
spl_type.c:405: error: duplicate ‘static’
spl_type.c:415: error: duplicate ‘static’
make: *** [spl_type.lo] Error 1


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=59323&edit=1

Reply via email to