php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57532 C++ comments in C source / IBM C
Submitted: 2007-02-15 03:33 UTC Modified: 2007-02-16 03:53 UTC
From: rainer dot tammer at schulergroup dot com Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 5.2.0 OS: AIX
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rainer dot tammer at schulergroup dot com
New email:
PHP Version: OS:

 

 [2007-02-15 03:33 UTC] rainer dot tammer at schulergroup dot com
Description:
------------
Hello,
there are three C++ "//" comments in C source files. This prevents compilation with the IBM VAC (cc_r) compiler on AIX.

apc_debug.c / line 191
apc_optimizer.c / line 222, 459

There are two solutions for this problem:

1. change the C++ comments to C comments
2. add -qcpluscmt to the IBM C compilers

The first solution is very simple and the second solution is difficult as the configure script is generated from phpize...

Bye
  Rainer Tammer


Reproduce code:
---------------
N/A

Expected result:
----------------
N/A

Actual result:
--------------
N/A

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-15 16:44 UTC] shire@php.net
This should be corrected in the latest CVS versions.  I just went through and corrected some additional lingering c++ comments as well.  We are getting ready for a new release, would you mind checking out the latest CVS and reporting any additional problems you encounter?  It would be greatly appreciated, thanks!
 [2007-02-16 03:53 UTC] rainer dot tammer at schulergroup dot com
Hello,
the 3.0.13-dev compiles OK on AIX 5.2/5.3 with VACPP cc_r 6.0 and PHP 5.2.1. Thanks.

Bye
  Rainer
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 09 16:02:26 2025 UTC