PHP 4.0 Bug #6467 Updated: Macro T Redefined
| From: | sniper@php.net | Date: | Thu, 09 Nov 2000 00:27:28 +0000 |
| Subject: | PHP 4.0 Bug #6467 Updated: Macro T Redefined | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37482@lists.php.net to get a copy of this message | ||
ID: 6467
Updated by: sniper
Reported By: andre@go-net.com
Status: Closed
Bug Type: Compile Warning
Assigned To:
Comments:
This is not a PHP problem. Please contact the Curl author and ask him
to change the macro's name.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-09-05 04:38:12] sterling@php.net
This is related to imap defining the T macro as well, not because PHP actually defines T(), which it
dones, but that's only for testing purposes in the virtual cwd code.
---------------------------------------------------------------------------
[2000-08-31 10:13:42] andre@go-net.com
In file included from /opt/src/andre_stuff/php-4.0.2/ext/curl/php_curl.h:31,
from internal_functions.c:51:
/opt/include/curl/curl.h:175: warning: `T' redefined
/opt/include/mail.h:61: warning: this is the location of the previous definition
mail.h
#define T 1
curl.h
#define T(name,type,number) CURLOPT_ ## name = CURLOPTTYPE_ ## type + number
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6467