This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Request for a compiler feature
- To: mrs at wrs dot com (Mike Stump), egcs at cygnus dot com
- Subject: Re: Request for a compiler feature
- From: Jason Merrill <jason at cygnus dot com>
- Date: 19 Jun 1998 00:06:16 -0700
- References: <199806182050.NAA05866.cygnus.egcs@kankakee.wrs.com>
>>>>> Mike Stump <mrs@wrs.com> writes:
>> From: Dave Steffen <steffend@glitch.physics.colostate.edu>
>> To: egcs@cygnus.com
>> Date: Tue, 16 Jun 1998 12:15:14 MDT
>> I'd like the compiler to generate error messages based on the typedefs
>> used in the code, not the actual underlying types.
> This is a good request. When we get a little time, I'm sure someone
> will get it implemented.
A good start would be checking all the uses of TYPE_MAIN_DECL. Now that
typedef types refer to the typedef, we shouldn't throw that information
away by using TYPE_MAIN_DECL; we should grab the typedef instead in most
cases.
Jason