Google Groepen ondersteunt geen nieuwe Usenet-berichten of -abonnementen meer. Historische content blijft zichtbaar.

problem compiling UTF8 on Win32

0 weergaven
Naar het eerste ongelezen bericht

mmal...@hotmail.com

ongelezen,
27 jun 2006, 19:17:0327-06-2006
aan 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

ongelezen,
28 jun 2006, 18:55:1828-06-2006
aan 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 nieuwe berichten