« Jifty talk at Portland.pm. | Main | Pugs 6.2.12 released! »

2006.06.26

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

i can't be the only one having this error on Win32 but haven't seen it reported. had it for a few days. thanks.

C:/ghc/ghc-6.4.2/include/HsBase.h:506: warning: "struct dirent" declared inside parameter list
C:/ghc/ghc-6.4.2/include/HsBase.h:506: warning: its scope is only this definition or declaration, which is probably not what you want
C:/ghc/ghc-6.4.2/include/HsBase.h: In function `__hscore_d_name':
C:/ghc/ghc-6.4.2/include/HsBase.h:508: error: dereferencing pointer to incomplete type
Build failed: 256 at util\build_pugs.pl line 120.

offending code in Hsbase.h:
INLINE HsAddr
__hscore_d_name( struct dirent* d )
{
return (HsAddr)(d->d_name);
}

i think compiling UTF8.lhs is the issue but GHCi loads it Ok. no clue. rgds.

The comments to this entry are closed.

December 2015

Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

License