This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

Re: [PATCH] tic54x gas target


> Date: Tue, 20 Jun 2000 11:17:10 +1000 (EST)
> From: Alan Modra <alan@linuxcare.com.au>

> - I noticed C++ style comments lurking in your source.  As a general rule,
>   binutils source ought to compile with pre-ANSI K&R compilers.  There are
>   a number of people reading the binutils list who can probably help test
>   your code for K&R compatibility.

For things that are only ever cross-compiled, or where all the native
compilers support it, it's OK to use ISO C89 (an example of this is
rs6000, where we even require ISO C89 plus a 64 bit type).  K&R is only
required for targets that must bootstrap with a K&R compiler, like x86
and sparc.

(Of course, C++-style comments are still not allowed.)
-- 
- Geoffrey Keating <geoffk@cygnus.com>

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