[Top][All Lists]

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

Re: guile-2.0.0 fails to build without threads

From: Neil Jerram
Subject: Re: guile-2.0.0 fails to build without threads
Date: Sat, 21 May 2011 15:29:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Marco Maggi <address@hidden> writes:

> Someone left  ACTION-IF-FALSE empty

This is fine, isn't it?

>  and also left  the test
> without "checking" message in this chunk of "configure.ac":

Agree that that is unhelpful.

> maybe the problem  is that GCC 4.6.0 with  -O3 optimises the
> program in such a way that the test is invalidated.

Could it be that it is not strictly allowed to compare two pointers that
don't point into the same object, and that GCC now enforces this?

>From http://en.wikipedia.org/wiki/Pointer_%28computing%29, under "C and
C++": "Pointer arithmetic, that is, the ability to modify a pointer's
target address with arithmetic operations (as well as magnitude
comparisons), is restricted by the language standard to remain within
the bounds of a single array object (or just after it), though many
non-segmented architectures will allow for more lenient arithmetic."


reply via email to

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