php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2071 Compilation error in "functions/sysvshm.c"
Submitted: 1999-08-16 11:54 UTC Modified: 2000-01-12 13:20 UTC
From: Mats dot Bredell at udac dot se Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.12 OS: AIX 4.2.1
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: Mats dot Bredell at udac dot se
New email:
PHP Version: OS:

 

 [1999-08-16 11:54 UTC] Mats dot Bredell at udac dot se
File functions/sysvshm.c fails with a compiler error. It seems that a variable name in the source code, 'shm_ptr', collides with an internal macro in the AIX header files. Changing the variable name (in 5 places) fixes the problem.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-17 13:39 UTC] sas at cvs dot php dot net
If you add a 

#undef shm_ptr

after the last #include line in the original sysvshm.c file, does it work then?
 [2000-01-12 13:20 UTC] sas at cvs dot php dot net
Fixed in current CVS. Thanks for your report.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 15 01:01:35 2025 UTC