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
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:
MUST BE VALID
Solve the problem:
31 + 22 = ?
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

mail.h
  #define T 1 

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 26 02:01:29 2024 UTC