autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Overflow protection in _AC_COMPUTE_INT_COMPILE


From: Alexandre Oliva
Subject: Re: Overflow protection in _AC_COMPUTE_INT_COMPILE
Date: 16 Nov 2000 01:22:38 -0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

On Nov 15, 2000, Pavel Roskin <address@hidden> wrote:

> Right, but you must have a good compiler for that (gcc will do). The HP-UX
> compiler always fails when it encounteres constructs like

> int _array_ [1 - 2 * !((sizeof(int)) <= 4095)]

> I don't have access to that machine anymore, but if I remember correctly,
> the message was about an array of variable size.

Works for me on two HP-UX 10.20 boxes I've tested.  I don't know what
the compiler version is, but it certainly isn't one that had to be
bought separately from the OS.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  address@hidden, redhat.com}
CS PhD student at IC-Unicamp        address@hidden, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



reply via email to

[Prev in Thread] Current Thread [Next in Thread]