On 10 August 2004 17:27, Alastair Reid wrote:

> It looks like the argument order for newForeignPtr was swapped
> between ghc-6.1 and ghc-6.2.
> 
> So, I used conditional compilation to check the version number but it
> looks as though __GLASGOW_VERSION__ in 6.1 and 6.2 is still set to
> 601. 

I think you mean __GLASGOW_HASKELL__, and the value was bumped to 602 in
version 6.2.  I just tried it:

*** C pre-processor
gcc -E -undef -traditional -v -I . -I
/home/simonmar/fp/lib/i386-unknown-linux/ghc-6.2/include
-D__HASKELL1__=5 -D__GLASGOW_HASKELL__=602 -D__HASKELL98__
-D__CONCURRENT_HASKELL__ -DDONT_WANT_WIN32_DLL_SUPPORT -x c hello.hs -o
/tmp/ghc3102.hscpp
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
 /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/tradcpp0 -lang-c -v -I . -I
/home/simonmar/fp/lib/i386-unknown-linux/ghc-6.2/include -D__GNUC__=3
-D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=2 -D__GXX_ABI_VERSION=102
-D__NO_INLINE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386
-D__i386 -D__i386__ -D__tune_i386__ -D__HASKELL1__=5
-D__GLASGOW_HASKELL__=602 -D__HASKELL98__ -D__CONCURRENT_HASKELL__
-DDONT_WANT_WIN32_DLL_SUPPORT hello.hs -o /tmp/ghc3102.hscpp

Cheers,
        Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to