Does a test already exist that checks for if the >> operator in C does
arithmetic shift? Section 5.5.1 "Portability of C Functions" of the
manual mentions the problem, but lists nothing about a way of
determining actual behavior. Seems that it would simple enough that I
thought I would ask before
Hi all,
as part of a research project I am performing changes to the GNU
binutils 2.18.
When using Autoconf 2.68 on libiberty/configure.ac, I get the following
error during configure:
conftest.c:40:9: error: macro names must be identifiers
[...]
configure: failed program was:
| /* confd
On Thu, Dec 9, 2010 at 9:26 AM, Philip Herron wrote:
> On 8 December 2010 04:41, Mike Gibson wrote:
>> Does a test already exist that checks for if the >> operator in C does
>> arithmetic shift? Section 5.5.1 "Portability of C Functions" of the
>> manual mentions the problem, but lists nothing a
On 8 December 2010 04:41, Mike Gibson wrote:
> Does a test already exist that checks for if the >> operator in C does
> arithmetic shift? Section 5.5.1 "Portability of C Functions" of the
> manual mentions the problem, but lists nothing about a way of
> determining actual behavior. Seems that it
On Thu, Dec 9, 2010 at 11:13 AM, Paul Eggert wrote:
> On 12/07/10 20:41, Mike Gibson wrote:
> Doesn't this suffice, without dragging Autoconf into it?
>
> #if -1 >> 1 == -1
Yes. That works and something similar is the basis for the code I
posted. Autoconf doesn't have to be dragged into it, but
On 12/07/10 20:41, Mike Gibson wrote:
> Does a test already exist that checks for if the >> operator in C does
> arithmetic shift?
Doesn't this suffice, without dragging Autoconf into it?
#if -1 >> 1 == -1
___
Autoconf mailing list
Autoconf@gnu.org
htt