Don Stewart:
chak:
Current HEAD on Mac OS X 10.5.5 (Intel):
/Users/chak/Code/ghc-test/ghc/stage1-inplace/ghc -optc-Wall -optc-W -
optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-
declarations -optc-Winline -optc-Waggregate-return -optc-I../
includes -
optc-I. -optc-Iparallel -optc-Ism -optc-DCOMPILING_RTS -optc-fomit-
frame-pointer -optc-I../gmp/gmpbuild -optc-I../libffi/build/include -
optc-fno-strict-aliasing -Werror -H64m -O0 -fasm -optc-O2 -I../
includes -I. -Iparallel -Ism -DCOMPILING_RTS -package-name rts -
static -I../gmp/gmpbuild -I../libffi/build/include -I. -dcmm-
lint -
optc-O0 -c Main.c -o Main.o
Linker.c: In function ‘loadObj’:
Linker.c:1495:0:
error: ‘n’ undeclared (first use in this function)
Linker.c:1495:0:
error: (Each undeclared identifier is reported only once
Linker.c:1495:0: error: for each function it appears in.)
Why validate?
Oh, that conditionally failed under the Mac?
Don't think it is a Mac problem. The relevant code is right *after*
the code that distinguishes architectures and, if I am not overlooking
anything, the variable `n' isn't defined for any architecture. (Well,
it is defined for ia64_HOST_ARCH in a *local block* that's closed
before the line that causes the compile error, so it should also give
a compile error on ia64_HOST_ARCH.)
Manuel
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc