Bug #72679 [Opn->Csd]: DOS line endings in zend_language_scanner.c
Edit report at https://bugs.php.net/bug.php?id=72679&edit=1
ID: 72679
Updated by: cmb@php.net
Reported by: cmb@php.net
Summary: DOS line endings in zend_language_scanner.c
-Status: Open
+Status: Closed
Type: Bug
Package: Compile Failure
Operating System: Solaris 10
PHP Version: 5.6.24
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
> neither PHP 5.6, 7.0 nor 7.1 are affected
That should have been "neither PHP 5.5, 7.0 nor 7.1 are affected".
Anyway, active support for PHP 5.6 has ended, so I'm closing this ticket.
Previous Comments:
------------------------------------------------------------------------
[2016-07-26 14:14:16] cmb@php.net
Description:
------------
I'm forwarding this issue from
<http://news.php.net/php.install/20422>ff.
TL;DR: zend_language_scanner.c (and maybe other files generated
with re2c) have DOS line endings (CRLF), which are not acceptable
for Oracle Studio (and maybe other compilers), so the build fails.
Running dos2unix on these files solves the build failures.
I would suggest to ship these files with *nix line endings (LF)
in the first place (that shouldn't be problem with MSVC).
This isssue affects PHP 5.6 (all tar.bz2 I've checked); it seems
that neither PHP 5.6, 7.0 nor 7.1 are affected. Ferenc, could you
please have a look at this issue?
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72679&edit=1
Thread (3 messages)