Bug #72679 [Asn->Opn]: DOS line endings in zend_language_scanner.c

From: Date: Tue, 24 Oct 2017 04:31:48 +0000
Subject: Bug #72679 [Asn->Opn]: DOS line endings in zend_language_scanner.c
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-211907@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72679&edit=1 ID: 72679 Updated by: kalle@php.net Reported by: cmb@php.net Summary: DOS line endings in zend_language_scanner.c -Status: Assigned +Status: Open Type: Bug Package: Compile Failure Operating System: Solaris 10 PHP Version: 5.6.24 -Assigned To: tyrael +Assigned To: Block user comment: N Private report: N 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

« previous php.bugs (#211907) next »