Am Mi 15. Jan 2014, 12:36:21, autarch@urth.org schrieb:
Show quoted text> On Wed, 15 Jan 2014, Alexander Hartmaier via RT wrote:
>
> > Wed Jan 15 12:31:09 2014: Request 92174 was acted upon.
> > Transaction: Ticket created by ABRAXXA
> > Queue: Math-Int128
> > Subject: Makefile.PL doesn't detect Debian 6 GCC 4.4.5 as
> > supported
> > Broken in: 0.13
> > Severity: (no value)
> > Owner: Nobody
> > Requestors: abraxxa@cpan.org
> > Status: new
> > Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=92174 >
> >
> >
> > # cc --version
> > cc (Debian 4.4.5-8) 4.4.5
> > Copyright (C) 2010 Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions. There
> > is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> > PURPOSE.
> >
> > Maybe use the detection code from Math::Int64 instead of whitelisting
> > compiler/version combos.
>
> I'm planning to move both of these modules to use Config::AutoConf. I
> think it's just a better practice to probe for feature capabilities
> rather
> than versions.
>
> If you could email me a box of tuits, that'd be great!
I looked into it but as I have almost no C knowledge I'm not sure what is the right way to test for a supported compiler.
I guess it's checking for the uint128_t type by using Config::AutoConf->check_type but I couldn't get it to work.
Neither the docs or
http://grep.cpan.me/?q=Config%3A%3AAutoConf show an example of check_type usage.
I might be able to work on it if you support me but I'm not sure if that's less work for you than doing it yourself.
You can ping me on irc too (abraxxa).
Cheers!