php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21945 Informix module ifx.ec will not compile
Submitted: 2003-01-29 11:25 UTC Modified: 2003-01-30 13:31 UTC
From: dwkoehler at comcast dot net Assigned:
Status: Closed Package: Informix related
PHP Version: 4.3.0 OS: Solaris 2.7
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dwkoehler at comcast dot net
New email:
PHP Version: OS:

 

 [2003-01-29 11:25 UTC] dwkoehler at comcast dot net
Compiling ifx.ec with gcc3.2.1.

Function declarations for php_intifxus_create_slob at source lines 83 and 3788 are different causing gcc to complain.  Line 83 is absent the TSRMLS_DC define. Which TSRMLS_?? define goes for this function's call at line 3768???

Also, the function declaration for php_intifxus_new_slob is absent the TSRMLS_DC define at lines 87 and 4266.  Without it, gcc whines about tsrm_ls not being declared at line 4029. Again, which TSRMLS_?? define goes for this function's calls??

These are the only two of the numerous _slob functions absent this TSRM define. Assuming these two should have it as well, I modified the functions to include them and it now compiles.  I'll let you know later if it all works.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-29 14:34 UTC] dwkoehler at comcast dot net
The CVS snapshot of 1/29/2003 at 1530 EST had the same glitches I mentioned in my first post.  Informix version 9.x compilation is still broke.
 [2003-01-30 13:31 UTC] sniper@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

I added the missing TSRMLS_CC/DC.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 11:01:30 2024 UTC