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


> 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
Cygnus Solutions     bothner@cygnus.com     http://www.cygnus.com/~bothner


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