# [PCRE] Undefined POSIX_MALLOC_THRESHOLD is back...

- Thread: https://externals.io/message/3639
- Original archive: https://news-web.php.net/php.internals/3639
- Started by David Brown on 2003-07-29T17:55:08+00:00
- Messages: 4
- 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

---

## #3639 — David Brown — 2003-07-29T17:55:08+00:00

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

Hi Everyone:

The PCRE breakage on Windows referenced here:
  http://www.zend.com/lists/php-dev/200306/msg00781.html

...appears to be back once again, but this time on a regular Linux box
with GCC 3.2.2. I get:

ext/pcre/pcrelib/pcre.c: In function `pcre_config':
ext/pcre/pcrelib/pcre.c:611:
  `POSIX_MALLOC_THRESHOLD' undeclared (first use in this function)
ext/pcre/pcrelib/pcre.c:611:
  (Each undeclared identifier is reported only once for each function it
  appears in.)

It's easy to work around with a manual #define (Google shows a typical
value to be 10) - I just thought I'd report it here.

Thanks,

- Dave
  dave@codewhore.org

---

## #3640 — Jani Taskinen — 2003-07-29T19:12:25+00:00

URL: https://externals.io/message/3639#3640 · In reply to: #3639

Get more recent snapshot, it compiles just fine on win32
    already.
    
    --Jani
    



>Hi Everyone:
>
>The PCRE breakage on Windows referenced here:
>  http://www.zend.com/lists/php-dev/200306/msg00781.html
>
>...appears to be back once again, but this time on a regular Linux box
>with GCC 3.2.2. I get:
>
>ext/pcre/pcrelib/pcre.c: In function `pcre_config':
>ext/pcre/pcrelib/pcre.c:611:
>  `POSIX_MALLOC_THRESHOLD' undeclared (first use in this function)
>ext/pcre/pcrelib/pcre.c:611:
>  (Each undeclared identifier is reported only once for each function it
>  appears in.)
>
>It's easy to work around with a manual #define (Google shows a typical
>value to be 10) - I just thought I'd report it here.
>
>Thanks,
>
>- Dave
>  dave@codewhore.org

---

## #3645 — David Brown — 2003-07-30T15:32:11+00:00

URL: https://externals.io/message/3639#3645 · In reply to: #3640

| 
|     Get more recent snapshot, it compiles just fine on win32
|     already.
| 
| On Tue, 29 Jul 2003, David Brown wrote:
| 
| >Hi Everyone:
| >
| >The PCRE breakage on Windows referenced here:
| >  http://www.zend.com/lists/php-dev/200306/msg00781.html
| >
| >...appears to be back once again, but this time on a regular Linux box
| >with GCC 3.2.2. I get:

This is on a regular Linux box with CVS HEAD. Is there anything more
recent?

- Dave

---

## #3646 — Jani Taskinen — 2003-07-30T16:35:52+00:00

URL: https://externals.io/message/3639#3646 · In reply to: #3645

>
>| 
>|     Get more recent snapshot, it compiles just fine on win32
>|     already.
>| 
>| On Tue, 29 Jul 2003, David Brown wrote:
>| 
>| >Hi Everyone:
>| >
>| >The PCRE breakage on Windows referenced here:
>| >  http://www.zend.com/lists/php-dev/200306/msg00781.html
>| >
>| >...appears to be back once again, but this time on a regular Linux box
>| >with GCC 3.2.2. I get:
>
>This is on a regular Linux box with CVS HEAD. Is there anything more
>recent?

    http://snaps.php.net/
    
    --Jani
