|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6467 Macro T Redefined
Submitted: 2000-08-31 10:13 UTC Modified: 2000-11-08 19:27 UTC
From: andre at go-net dot com Assigned:
Status: Closed Package: Compile Warning
PHP Version: 4.0.2 OS: Linux 2.2.16-3smp
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
34 - 30 = ?
Subscribe to this entry?

 [2000-08-31 10:13 UTC] andre at go-net dot 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

  #define T 1 

  #define T(name,type,number) CURLOPT_ ## name = CURLOPTTYPE_ ## type + number


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-05 04:38 UTC]
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-11-08 19:27 UTC]
This is not a PHP problem. Please contact the Curl author and ask him
to change the macro's name.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Mar 25 15:03:41 2023 UTC