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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: andre at go-net dot com
New email:
PHP Version: OS:

 

 [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 04:01:30 2024 UTC