# zend_strtod.c compile error

- Thread: https://externals.io/message/14144
- Original archive: https://news-web.php.net/php.internals/14144
- Started by Stanislav Malyshev on 2004-12-21T12:33:48+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #14144 — Stanislav Malyshev — 2004-12-21T12:33:48+00:00

URL: https://externals.io/message/14144#14144

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

---

## #14145 — Antony Dovgal — 2004-12-21T12:36:51+00:00

URL: https://externals.io/message/14144#14145 · In reply to: #14144

On Tue, 21 Dec 2004 14:33:48 +0200 (IST)
Stanislav Malyshev <stas@zend.com> 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

---

## #14148 — Jani Taskinen — 2004-12-21T18:43:47+00:00

URL: https://externals.io/message/14144#14148 · In reply to: #14145

>On Tue, 21 Dec 2004 14:33:48 +0200 (IST)
>Stanislav Malyshev <stas@zend.com> wrote:
>
> > […]
>
>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
