bug-gmp
[Top][All Lists]
Advanced

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

Re: Bug and Fix: GMP_C_RESTRICT fails on VC for IA-64


From: Kevin Ryde
Subject: Re: Bug and Fix: GMP_C_RESTRICT fails on VC for IA-64
Date: Sat, 14 Sep 2002 08:29:09 +1000
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i386-debian-linux-gnu)

<address@hidden> writes:
>
>     #define restrict __restrict
> so that GMP programmers could use the bare "restrict" keyword.

Yes.

> the declaration for malloc() in the standard compiler
> headers is:
>   __declspec(noalias) __declspec(restrict) void * __cdecl malloc(size_t);

Grr.  I guess "restrict" is in the compiler's namespace these days.

> The correct solution is to use a unique macro name, like
> GMP_RESTRICT, rather than the common keyword "restrict."

Thanks, yes.  For now I think I'll remove the whole GMP_C_RESTRICT
test, until we start making use of it.




reply via email to

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