[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: AW: [DotGNU]Windows specifica
From: |
Tobias Oberstein |
Subject: |
AW: AW: [DotGNU]Windows specifica |
Date: |
Sun, 16 Feb 2003 11:39:36 +0100 |
> > I had to modify "il_values.h" due to ..
> >
> > il_values.h(71) : error C2632: 'long' followed by 'long' is illegal
> > il_values.h(72) : error C2632: 'long' followed by 'long' is illegal
>
> I'll rearrange the primary copy of "il_values.h" accordingly.
I just did a fresh CVS checkout + MingW build. I've seen you already
modified il_values.h, but unfortunately, now MingW is bailing out:
gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../include -I../libgc/include -
I../
include -DCSCC_LIB_PREFIX=\"/home/Administrator/local/lib\" -DCSCC_BIN_PREFI
X=\"
/home/Administrator/local/bin\" -g -O2 -Wall -c `test -f 'aes.c' || echo
'./'`ae
s.c
In file included from ../include/il_crypt.h:24,
from aes.c:28:
../include/il_values.h:70: parse error before "ILInt64"
../include/il_values.h:70: warning: type defaults to `int' in declaration of
`IL
Int64'
../include/il_values.h:70: warning: data definition has no type or storage
class
../include/il_values.h:71: parse error before "ILUInt64"
../include/il_values.h:71: warning: type defaults to `int' in declaration of
`IL
UInt64'
../include/il_values.h:71: warning: data definition has no type or storage
class
which results in subsequent errors.
I suppose the problem is, that MingW needs "long long" but VC++
needs "__int64". I modified "il_values.h" to check for VC++:
/*
* Determine which types should be used for 64-bit numeric values.
*/
#if (defined(IL_WIN32_NATIVE) && defined(_MSC_VER))
typedef __int64 ILInt64;
typedef unsigned __int64 ILUInt64;
#define IL_HAVE_INT64
#endif
This helped.
The other mysterious "problem" with "gen_errno.sh" don't finding the
temporary
C source it generates was there again. This time I could fix it by replacing
SRC=/tmp/gerr$$.c
with
SRC=./gerr$$.c
I have no clue why the temp file isn't found if it the path is "/tmp/..".
Anyway, it works. I'll now build the rest and check linking with VC++ again.
Greets,
Tobias
- [DotGNU]Windows specifica, Tobias Oberstein, 2003/02/15
- Re: [DotGNU]Windows specifica, Rhys Weatherley, 2003/02/16
- AW: [DotGNU]Windows specifica, Tobias Oberstein, 2003/02/16
- Re: AW: [DotGNU]Windows specifica, Rhys Weatherley, 2003/02/16
- AW: AW: [DotGNU]Windows specifica,
Tobias Oberstein <=
- Re: AW: AW: [DotGNU]Windows specifica, Rhys Weatherley, 2003/02/16
- AW: AW: AW: [DotGNU]Windows specifica, Tobias Oberstein, 2003/02/16
- AW: AW: AW: [DotGNU]Windows specifica, Tobias Oberstein, 2003/02/16
- Re: AW: AW: AW: [DotGNU]Windows specifica, Gopal V, 2003/02/16
- AW: AW: AW: AW: [DotGNU]Windows specifica, Tobias Oberstein, 2003/02/16