delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/21/11:27:32

From: "August . A" <spgroup AT rcom DOT spb DOT ru>
Newsgroups: comp.os.msdos.djgpp
Subject: Compiler crash & something more
Date: Fri, 21 Feb 1997 15:49:56 +0300
Organization: St.-Petersburg Group Ltd.
Lines: 26
Distribution: su
Message-ID: <330D99F4.4691@rcom.spb.ru>
NNTP-Posting-Host: appp24.rcom.spb.su
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi there, DJ ++lovers!

Could anybody help me? Compiler crashes with "internal errors" on
the code below ( maybe, template inlining is the cause?), and all
seems to be OK in sources ( double-checked, compiled and linked before)

bool __XLibApi PCX::extractPalette( PCSTR _outputFile)
{
 AnArray<byte> palette(768);
 if( fError == true) return false;
 lseek( __file, -768L, SEEK_END);
 readArray( palette);
 for( register int index = 0; index < 768; index++)
  palette[index] = palette[index] >> 2;

 AFile *out = new AFile( _outputFile);
 out->writeArray( palette);
 delete out;
 return (true);
}

Also, Rhide claims errors when encounts Russian comments in asm source,
just one line below of them, while all is OK from "as" command-line -
that's not a bug,
of course :) - just a piece of information for Guy working on Russian
version.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019