still happens even with 6.2.12 r10959 when "nmake" compiles UTF8 source file on Win32. was able to smoke fine until a few days ago so really puzzled.
In file included from C:\DOCUME~1\Maxime\LOCALS~1\Temp\ghc4684.hc:4: 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); } UTF8.lhs is loaded fine in GHCi. no clue... rgds.