[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling 0.6.14 on Solaris 10 SPARC
From: |
Pawel Kot |
Subject: |
Re: Compiling 0.6.14 on Solaris 10 SPARC |
Date: |
Fri, 20 Apr 2007 21:13:08 +0200 |
Hi,
On 4/20/07, Baurzhan Ismagulov <address@hidden> wrote:
Hmm, could you please explain what this modification does? I couldn't
try it due to the problems I've just written, but I don't see how it is
supposed to work.
copmpat.h includes:
<sys/types.h>
<inttypes.h>
<limits.h>
If any of these defines INT_MAX, where fine. If not we define our own.
INT_MAX should be defined in limits.h according to
C89, and gcc 3.4.3 certainly implements it. I've tried the following
code on Solaris 10 with gcc 3.4.3, it works:
#include <limits.h>
int
main(void)
{
printf("%d\n", INT_MAX);
}
So is the problem perhaps that HAVE_LIMITS_H is undefined?
In that case we would go to #else and define our own INT_MAX.
take care,
pkot
--
Pawel Kot
- Compiling 0.6.14 on Solaris 10 SPARC, ML mail, 2007/04/19
- Re: Compiling 0.6.14 on Solaris 10 SPARC, Pawel Kot, 2007/04/20
- Re: Compiling 0.6.14 on Solaris 10 SPARC, ML mail, 2007/04/20
- Re: Compiling 0.6.14 on Solaris 10 SPARC, Pawel Kot, 2007/04/20
- Re: Compiling 0.6.14 on Solaris 10 SPARC, Martin White, 2007/04/20
- Re: Compiling 0.6.14 on Solaris 10 SPARC, ML mail, 2007/04/20
- Re: Compiling 0.6.14 on Solaris 10 SPARC, Pawel Kot, 2007/04/20
- Re: Compiling 0.6.14 on Solaris 10 SPARC, ML mail, 2007/04/20
- Re: Compiling 0.6.14 on Solaris 10 SPARC, Pawel Kot, 2007/04/20
- Re: Compiling 0.6.14 on Solaris 10 SPARC, Baurzhan Ismagulov, 2007/04/20
- Re: Compiling 0.6.14 on Solaris 10 SPARC,
Pawel Kot <=
- Re: Compiling 0.6.14 on Solaris 10 SPARC, ML mail, 2007/04/20
- Re: Compiling 0.6.14 on Solaris 10 SPARC, Pawel Kot, 2007/04/20
- Re: Compiling 0.6.14 on Solaris 10 SPARC, ML mail, 2007/04/20
- Re: Compiling 0.6.14 on Solaris 10 SPARC, Pawel Kot, 2007/04/20
- Re: Compiling 0.6.14 on Solaris 10 SPARC, ML mail, 2007/04/20
- Re: Compiling 0.6.14 on Solaris 10 SPARC, Pawel Kot, 2007/04/21
- Re: Compiling 0.6.14 on Solaris 10 SPARC, ML mail, 2007/04/21
- Re: Compiling 0.6.14 on Solaris 10 SPARC, ML mail, 2007/04/21
making gnokii more accessible (was: Re: Compiling 0.6.14 on Solaris 10 SPARC), Baurzhan Ismagulov, 2007/04/20