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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2021 The PHP Group
All rights reserved.
Last updated: Tue Oct 19 21:03:42 2021 UTC