www.digitalmars.com         C & C++   DMDScript  

c++.windows.32-bits - getting internal compiler error

reply vincent diepeveen <vincent_member pathlink.com> writes:
chessengine diep code gets problem, is there a fix for?

C:\engine>make
sc -Jm -w -o+space -mmn -w- -6 -Nc -W3 -c diepab.c
Command line error: unrecognized parameter '-mmn'--- errorlevel 1

--- errorlevel 1

C:\engine>make
sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepab.c

sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepasci.c

sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepauto.c

sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepbook.c

sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepcns.c
if( (n=cn->nmoves) ) {
^
diepcns.c(447) : Warning 2: possible unintended assignment
if( (n=cn.nmoves) ) {
^
diepcns.c(529) : Warning 2: possible unintended assignment
if( (n=cn->nmoves) ) {
^
diepcns.c(586) : Warning 2: possible unintended assignment

sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepdbas.c
if( !(zfile = fopen(fname,"rt")) )
^
diepdbas.c(923) : Warning 2: possible unintended assignment

sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepegtb.c

sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepeind.c

sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepeval.c
&& PawnNumbers[apvm] == 1 ) { /* geen vijandelijke pionnen van voren */
^
diepeval.c(2607) : Warning 2: possible unintended assignment
if( (piece=board[sq]) ) {
^
diepeval.c(5102) : Warning 2: possible unintended assignment

sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepexec.c
Internal error: cg87 256
--- errorlevel 1

--- errorlevel 1

C:\engine>

so now a try without parameter:

C:\engine>make
sc  -W3 -c diepexec.c
Internal error: cg87 256
--- errorlevel 1

--- errorlevel 1

C:\engine>del *.obj

C:\engine>make
sc  -W3 -c diepab.c

sc  -W3 -c diepasci.c

sc  -W3 -c diepauto.c

sc  -W3 -c diepbook.c

sc  -W3 -c diepcns.c
if( (n=cn->nmoves) ) {
^
diepcns.c(447) : Warning 2: possible unintended assignment
if( (n=cn.nmoves) ) {
^
diepcns.c(529) : Warning 2: possible unintended assignment
if( (n=cn->nmoves) ) {
^
diepcns.c(586) : Warning 2: possible unintended assignment

sc  -W3 -c diepdbas.c
if( !(zfile = fopen(fname,"rt")) )
^
diepdbas.c(923) : Warning 2: possible unintended assignment

sc  -W3 -c diepegtb.c

sc  -W3 -c diepeind.c

sc  -W3 -c diepeval.c
&& PawnNumbers[apvm] == 1 ) { /* geen vijandelijke pionnen van voren */
^
diepeval.c(2607) : Warning 2: possible unintended assignment
if( (piece=board[sq]) ) {
^
diepeval.c(5102) : Warning 2: possible unintended assignment

sc  -W3 -c diepexec.c
Internal error: cg87 256
--- errorlevel 1

--- errorlevel 1

C:\engine>
Apr 19 2002
next sibling parent Jan Knepper <jan smartsoft.cc> writes:
Try it without optimization.
Thus drop the -o+space switch.
Jan



vincent diepeveen wrote:

 chessengine diep code gets problem, is there a fix for?

 C:\engine>make
 sc -Jm -w -o+space -mmn -w- -6 -Nc -W3 -c diepab.c
 Command line error: unrecognized parameter '-mmn'--- errorlevel 1

 --- errorlevel 1

 C:\engine>make
 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepab.c

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepasci.c

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepauto.c

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepbook.c

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepcns.c
 if( (n=cn->nmoves) ) {
 ^
 diepcns.c(447) : Warning 2: possible unintended assignment
 if( (n=cn.nmoves) ) {
 ^
 diepcns.c(529) : Warning 2: possible unintended assignment
 if( (n=cn->nmoves) ) {
 ^
 diepcns.c(586) : Warning 2: possible unintended assignment

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepdbas.c
 if( !(zfile = fopen(fname,"rt")) )
 ^
 diepdbas.c(923) : Warning 2: possible unintended assignment

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepegtb.c

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepeind.c

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepeval.c
 && PawnNumbers[apvm] == 1 ) { /* geen vijandelijke pionnen van voren */
 ^
 diepeval.c(2607) : Warning 2: possible unintended assignment
 if( (piece=board[sq]) ) {
 ^
 diepeval.c(5102) : Warning 2: possible unintended assignment

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepexec.c
 Internal error: cg87 256
 --- errorlevel 1

 --- errorlevel 1

 C:\engine>

 so now a try without parameter:

 C:\engine>make
 sc  -W3 -c diepexec.c
 Internal error: cg87 256
 --- errorlevel 1

 --- errorlevel 1

 C:\engine>del *.obj

 C:\engine>make
 sc  -W3 -c diepab.c

 sc  -W3 -c diepasci.c

 sc  -W3 -c diepauto.c

 sc  -W3 -c diepbook.c

 sc  -W3 -c diepcns.c
 if( (n=cn->nmoves) ) {
 ^
 diepcns.c(447) : Warning 2: possible unintended assignment
 if( (n=cn.nmoves) ) {
 ^
 diepcns.c(529) : Warning 2: possible unintended assignment
 if( (n=cn->nmoves) ) {
 ^
 diepcns.c(586) : Warning 2: possible unintended assignment

 sc  -W3 -c diepdbas.c
 if( !(zfile = fopen(fname,"rt")) )
 ^
 diepdbas.c(923) : Warning 2: possible unintended assignment

 sc  -W3 -c diepegtb.c

 sc  -W3 -c diepeind.c

 sc  -W3 -c diepeval.c
 && PawnNumbers[apvm] == 1 ) { /* geen vijandelijke pionnen van voren */
 ^
 diepeval.c(2607) : Warning 2: possible unintended assignment
 if( (piece=board[sq]) ) {
 ^
 diepeval.c(5102) : Warning 2: possible unintended assignment

 sc  -W3 -c diepexec.c
 Internal error: cg87 256
 --- errorlevel 1

 --- errorlevel 1

 C:\engine>

Apr 19 2002
prev sibling parent "Walter" <walter digitalmars.com> writes:
I emailed a fix to you, but your email address is invalid. -Walter

"vincent diepeveen" <vincent_member pathlink.com> wrote in message
news:a9pd9g$2j60$1 digitaldaemon.com...
 chessengine diep code gets problem, is there a fix for?

 C:\engine>make
 sc -Jm -w -o+space -mmn -w- -6 -Nc -W3 -c diepab.c
 Command line error: unrecognized parameter '-mmn'--- errorlevel 1

 --- errorlevel 1

 C:\engine>make
 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepab.c

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepasci.c

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepauto.c

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepbook.c

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepcns.c
 if( (n=cn->nmoves) ) {
 ^
 diepcns.c(447) : Warning 2: possible unintended assignment
 if( (n=cn.nmoves) ) {
 ^
 diepcns.c(529) : Warning 2: possible unintended assignment
 if( (n=cn->nmoves) ) {
 ^
 diepcns.c(586) : Warning 2: possible unintended assignment

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepdbas.c
 if( !(zfile = fopen(fname,"rt")) )
 ^
 diepdbas.c(923) : Warning 2: possible unintended assignment

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepegtb.c

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepeind.c

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepeval.c
 && PawnNumbers[apvm] == 1 ) { /* geen vijandelijke pionnen van voren */
 ^
 diepeval.c(2607) : Warning 2: possible unintended assignment
 if( (piece=board[sq]) ) {
 ^
 diepeval.c(5102) : Warning 2: possible unintended assignment

 sc -Jm -w -o+space -mn -w- -6 -Nc -W3 -c diepexec.c
 Internal error: cg87 256
 --- errorlevel 1

 --- errorlevel 1

 C:\engine>

 so now a try without parameter:

 C:\engine>make
 sc  -W3 -c diepexec.c
 Internal error: cg87 256
 --- errorlevel 1

 --- errorlevel 1

 C:\engine>del *.obj

 C:\engine>make
 sc  -W3 -c diepab.c

 sc  -W3 -c diepasci.c

 sc  -W3 -c diepauto.c

 sc  -W3 -c diepbook.c

 sc  -W3 -c diepcns.c
 if( (n=cn->nmoves) ) {
 ^
 diepcns.c(447) : Warning 2: possible unintended assignment
 if( (n=cn.nmoves) ) {
 ^
 diepcns.c(529) : Warning 2: possible unintended assignment
 if( (n=cn->nmoves) ) {
 ^
 diepcns.c(586) : Warning 2: possible unintended assignment

 sc  -W3 -c diepdbas.c
 if( !(zfile = fopen(fname,"rt")) )
 ^
 diepdbas.c(923) : Warning 2: possible unintended assignment

 sc  -W3 -c diepegtb.c

 sc  -W3 -c diepeind.c

 sc  -W3 -c diepeval.c
 && PawnNumbers[apvm] == 1 ) { /* geen vijandelijke pionnen van voren */
 ^
 diepeval.c(2607) : Warning 2: possible unintended assignment
 if( (piece=board[sq]) ) {
 ^
 diepeval.c(5102) : Warning 2: possible unintended assignment

 sc  -W3 -c diepexec.c
 Internal error: cg87 256
 --- errorlevel 1

 --- errorlevel 1

 C:\engine>

Apr 19 2002