Why does using 64-bit constants on a 64-bit build of Perl issue the warning: Hexadecimal number > 0xffffffff non-portable ...?
We don't get warnings that using /path/to/something is non-portable to Windows. Or vice versa.
We don't get warnings that getgrgid or setpwent are non-portable. Just a The getgrgid function is unimplemented ... on those platforms that don't support it.
So why warn of of the non-portability of 64-bit constants on 64-bit platforms (where they work just fine)?
Wouldn't it be better to warn or die only when >32-bit constants are used on 32-bit platforms?
Or at least make it a warning that has to be enabled, rather than disabled.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Non-portable warnings.
by ikegami (Patriarch) on Jun 16, 2010 at 18:38 UTC | |
|
Re: Non-portable warnings.
by JavaFan (Canon) on Jun 16, 2010 at 14:21 UTC | |
|
Re: Non-portable warnings.
by ambrus (Abbot) on Jun 16, 2010 at 14:59 UTC | |
|
Re: Non-portable warnings.
by salva (Canon) on Jun 16, 2010 at 15:29 UTC | |
by ikegami (Patriarch) on Jun 16, 2010 at 18:21 UTC | |
by salva (Canon) on Jun 16, 2010 at 18:39 UTC |