This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Chill warning questions #2


 > From: Per Bothner <bothner@cygnus.com>
 > 
 > > 2.  In the following case, did you mean to use "=", not "=="?
 > > typeck.c: In function `build_chill_cast':
 > > typeck.c:1214: warning: statement with no effect
 > > >   TREE_READONLY (expr) == TYPE_READONLY (type);
 > 
 > Yes, it should be a "=".
 > 
 > > 4.  What should have been printed here?
 > > tasking.c: In function `build_signal_descriptor':
 > > tasking.c:1275: warning: char format, tree_node arg (arg 2)
 > > tree signame = DECL_NAME (sigdef);
 > > [...]
 > > error ("SEND requires a SIGNAL; %s is not a SIGNAL name", signame);
 > 
 > It should be ... IDENTIFIER_POINTER (signame));
 > 
 > Assuming you have egcs write permission, please go ahead with these fixes.
 > 
 > 	--Per Bothner


	Done.  Thanks for responding.


If you have a moment, would you please try to answer question #1 from
the same message (http://www.cygnus.com/ml/egcs/1998-Oct/0340.html)?
I believe it was suggested that the comparison in the statement should
be &&, not &, (in http://www.cygnus.com/ml/egcs/1998-Oct/0442.html).
Is that correct?

	While we're on a role...
See http://www.cygnus.com/ml/egcs/1998-Oct/0335.html for three more
issues.

		Thanks,
		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Icon CMT Corp.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]