🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51787

Warning in gcc 2.3.3 installation.

#51787
From: Gaumond Pierre
Date: Mon, 29 Mar 1993 23:31
33 lines
1868 bytes
I'm on a SGI 4D/380 machine under IRIX 4.0.5 system (System V Unix).

I'm trying to install "gcc-2.3.3". I configured with:

% setenv CC cc
% configure mips-sgi-irix4

I had the following warning when I do a "make".

-------------------------------------------------------------------------------
	./xgcc -B./  -DIN_GCC   -g     -DNO_MEM -DNO_STDDEF -DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
./enquire.c: In function `cprop':
./enquire.c:1366: warning: comparison is always 0 due to limited range of data type
-------------------------------------------------------------------------------

Lines 1365 and 1366 of "enquire.c" are:

	c= (char)(-1);
	if (((int)c)<0) c_signed=1;

First, I must say that I have previously installed gcc 2.3.3 on a test
directory (that I included in my PATH environment variable). At that time, I
did not checked for such warnings. There was no fatal error and I believed
that everything should be correct.

It seems that "xgcc" do not make correctly the conversion between integers and
characters.

-- 
Pierre Gaumond.        gaumondp@ERE.UMontreal.CA
Services Informatiques, Universite de Montreal. 
C.P. 6128, Succursale "A", Montreal,            
Quebec, Canada.   H3C 3J7                       
Technical Details
Message-ID: <1993Mar29.233146.18675@cc.umontreal.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!newsflash.concordia.ca!cumin.telecom.uqam.ca!CC.UMontreal.CA!gaumondp

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,cb09db9024105c0f,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-03-29 15:54:51 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!newsflash.concordia.ca!cumin.telecom.uqam.ca!CC.UMontreal.CA!gaumondp
From: gaumondp@ERE.UMontreal.CA (Gaumond Pierre)
Subject: Warning in gcc 2.3.3 installation.
Message-ID: <1993Mar29.233146.18675@cc.umontreal.ca>
Keywords: gcc
Sender: news@cc.umontreal.ca (Administration de Cnews)
Organization: Universite de Montreal
Date: Mon, 29 Mar 1993 23:31:46 GMT
Lines: 33