php.net |  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
 [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

mail.h
  #define T 1 

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

Patches

Pull Requests

History

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

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC