php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27732 Newlines in include/php_sab_info.h confuses mips CC compiler
Submitted: 2004-03-27 10:38 UTC Modified: 2004-03-28 19:00 UTC
From: joerg@php.net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.5 OS: IRIX64 6.5.23m
Private report: No CVE-ID: None
 [2004-03-27 10:38 UTC] joerg@php.net
Description:
------------
The file php-4.3.5/include/php_sab_info.h contains information about the using CLAGS from the sablot compilation. For unkown reasons the linkline contains newlines and the code looks like

Example:
cat /mnt/MIPS/php-4.3.5/include/php_sab_info.h
#define SAB_INFO "Cflags: -O3 -mips4 -LANG:libc_in_namespace_std=OFF -LANG:exceptions=OFF -LANG:std=OFF -I/usr/local/include
Libs: -L/usr/local/lib -lexpat -lm
Prefix: /usr/local"


Removing the newlines solves the problem and the mips compiler accept the #define.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-28 19:00 UTC] iliaa@php.net
This bug has been fixed in CVS.

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/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 11:01:29 2024 UTC