In the Windows installation the all.sh script crashes
Thomas Kuehne
thomas-dloop at kuehne.cn
Tue Jan 2 12:49:42 PST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
%u schrieb am 2007-01-02:
> Hi,
>
> I have downloaded and installed the compiler and the toolset for under MS
> Windows. I'm running MS Windows 2000.
>
> When I run the all.sh shell script, I get the following error message in the
> dhrystones program:
>
> "
> dmd dhry
> dhry.d(607): function std.c.string.strcpy (char*,char*) does not match parameter
> types (char[30],char[29])
> dhry.d(607): Error: cannot implicitly convert expression (Reg_Define) of type ch
> ar[30] to char*
>
> --- errorlevel 1"
Pleace change in dhry.d line 607 from
#
# strcpy(Reg_Define, "Register option not selected.");
#
to
#
# strcpy(Reg_Define.ptr, "Register option not selected.");
#
This is due to stricter array-pointer conversion rules since DMD-0.177.
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFFmtIrLK5blCcjpWoRAqOAAJsHy1ZtMn6u20CmFNmj7oHHNUAZMgCePXOk
SlEBbzoc0YUeqVawO0wXjF8=
=yu4K
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-bugs
mailing list