|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21945 Informix module 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
 [2003-01-29 11:25 UTC] dwkoehler at comcast dot net
Compiling 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.


Add a Patch

Pull Requests

Add a Pull Request


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]
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
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the 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 May 30 02:01:33 2024 UTC