FAQ
After recent changes, zend_strtod.c from PHP 4 CVS does not compile on my
Linux, giving:

php4/Zend/zend_strtod.c:234: error: syntax error before "uint32_t"

uin32_t is defined in stdint.h which is never included as far as I see.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115

Search Discussions

  • Antony Dovgal at Dec 21, 2004 at 12:41 pm

    On Tue, 21 Dec 2004 14:33:48 +0200 (IST) Stanislav Malyshev wrote:

    After recent changes, zend_strtod.c from PHP 4 CVS does not compile on
    my Linux, giving:

    php4/Zend/zend_strtod.c:234: error: syntax error before "uint32_t"

    uin32_t is defined in stdint.h which is never included as far as I
    see. --
    I've encountered the same problem, but ./buildconf helped.
    This happens because Jani recently added a new magic macro to
    detect little/big endians.

    --
    Wbr,
    Antony Dovgal aka tony2001
    tony2001@phpclub.net || antony@dovgal.com
  • Jani Taskinen at Dec 21, 2004 at 6:54 pm

    On Tue, 21 Dec 2004, Antony Dovgal wrote:
    On Tue, 21 Dec 2004 14:33:48 +0200 (IST)
    Stanislav Malyshev wrote:
    After recent changes, zend_strtod.c from PHP 4 CVS does not compile on
    my Linux, giving:

    php4/Zend/zend_strtod.c:234: error: syntax error before "uint32_t"

    uin32_t is defined in stdint.h which is never included as far as I
    see. --
    I've encountered the same problem, but ./buildconf helped.
    Yes, buildconf should help since then you'll propably
    have HAVE_INTTYPES_H and/or HAVE_STDINT_H defined. :)

    --Jani

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedDec 21, '04 at 12:33p
activeDec 21, '04 at 6:54p
posts3
users3
websitephp.net

People

Translate

site design / logo © 2022 Grokbase