Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

problem compiling UTF8 on Win32

0 views
Skip to first unread message

mmal...@hotmail.com

unread,
Jun 27, 2006, 7:17:03 PM6/27/06
to perl6-c...@perl.org, perl-perl...@moderators.isc.org
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.

mmal...@hotmail.com

unread,
Jun 28, 2006, 6:55:18 PM6/28/06
to perl6-c...@perl.org, perl-perl...@moderators.isc.org
having PUGS_EMBED set to "perl5" was the issue. not setting it does the
trick and pugs smokes Ok. rgds.
0 new messages