This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: proposed patch: protos for warning(), error()
Richard Henderson wrote:
> On Tue, Apr 14, 1998 at 10:50:24AM -0500, Robert Lipe wrote:
[ some babbling with a slightly misguided idea for toplev.h ]
> Ug and ug.
"Ug"reed. :-)
> You should just use `union tree_node *' in place of `tree'. C does let
Oooh. I just made my first visit to tree.h. I didn't realize the
definition of 'tree' was so simple.
I just implemented your idea. Thanx!
I plan to just stick in good ideas as they roll in, then submit a "for
approval" patch when the dust settles.
> you leave structures undefined. You would of course want a `union tree_node;'
> just before the definitions to avoid the warning about not being declared.
Actually, since toplev.h is included in tree.h after tree_node is
declared, this isn't necessary.
Is this too fragile?
RJL