develooper Front page | perl.perl5.porters | Postings from May 2015

[perl #125223] Errno.pm defines no constants with gcc-5.1.0

Thread Next
From:
Shea Levy
Date:
May 20, 2015 15:09
Subject:
[perl #125223] Errno.pm defines no constants with gcc-5.1.0
Message ID:
rt-4.0.18-21960-1432122589-487.125223-75-0@perl.org
# New Ticket Created by  Shea Levy 
# Please include the string:  [perl #125223]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=125223 >


When built with gcc-5.1.0, Errno.pm doesn't define any errno constants. I believe this is because cc -E now outputs line breaks where it didn't before (see http://www.openldap.org/its/index.cgi/Build?id=8056;page=1 for the source of this guess). The attached patch fixes it for me, but I'm guessing it's not very portable.
Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About