This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [patch] Remove unnecessary casts


Jens-Michael Hoffmann <jensmh@gmx.de> writes:

>> I'm afraid not.  gcc -Wtraditional doesn't catch everything, and in
>> particular it doesn't make the return type of malloc be char* (which
>> is what it is on a real K+R compiler).
>
> Ok. Then I withdraw the patch and continue in the cp-subdirectory.
> Which parts of gcc are required to be K&R-conformant?

The C front end, the optimizer, and the back ends.

To be safe, restrict your patches to the cp, f, java, objc, and ada
directories.

zw


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