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

Re: [perl #118225] Re: Bleadperl v5.19.0-57-g6d5abc6 breaks SREZIC/Tk-804.031.tar.gz

Thread Previous
From:
Slaven Rezic
Date:
May 28, 2013 19:30
Subject:
Re: [perl #118225] Re: Bleadperl v5.19.0-57-g6d5abc6 breaks SREZIC/Tk-804.031.tar.gz
Message ID:
87li6yewdc.fsf@biokovo.herceg.de
"Nicholas Clark via RT" <perlbug-followup@perl.org> writes:

> On Tue, May 28, 2013 at 11:32:31AM -0700, slaven@rezic.de wrote:
>
>> Commit c6441755d78aaa29725c8c2ff91b244f7a25d967 in
>> git://github.com/eserte/perl-tk seems to fix it. Unfortunately I don't
>> know why the "#undef bool" was ever done, the changelogs are quite
>> sparse here... maybe some misbehaving compilers?
>
> Having cloned the history from gitpan, I'm going to have a guess that it's
> due to this:

[...]

> I don't know the significance of _LANG, but if there's a platform where it
> isn't defined, that code is no longer going to compile, thanks to that
> variable named "bool".

Hello Nicholas,

thanks for the research. As _LANG is always defined when compiling
Perl/Tk (or any other language using NI-S' Portable Tk idea), removing
the "#undef bool" doesn't seem to be a problem.

Regards,
    Slaven

-- 
Slaven Rezic - slaven <at> rezic <dot> de
  BBBike - route planner for cyclists in Berlin
  WWW version:                           http://www.bbbike.de
  Perl/Tk version for Unix and Windows:  http://bbbike.sourceforge.net

Thread Previous


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