🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5357

Re: Query about typedef type-checking

#5357
From: Larry Jones
Date: Thu, 15 Sep 1988 22:32
16 lines
1182 bytes
In article <74@cybaswan.UUCP>, iiit-sh@cybaswan.UUCP (Steve Hosgood) writes:
> Put simply, does the upcoming standard intend to enforce (or warn about)
> mixing 'typedef'-ed types even if the fundamental items 'beneath' the typedefs
> are the same?

No, the draft maintains the K&R interpretation that typedef does not create a
new type, merely a different way to specify an existing type.  Warnings are
not considered to be in the scope of a standard - if you'd like one, bother
your compiler vendor enough to convince them to add it.

----
Larry Jones                         UUCP: uunet!sdrc!scjones
SDRC                                      scjones@sdrc.uucp
2000 Eastman Dr.                    BIX:  ltl
Milford, OH  45150                  AT&T: (513) 576-2070
"Save the Quayles" - Mark Russell
Technical Details
Message-ID: <385@sdrc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!sdrc!scjones
References: <74@cybaswan.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!sdrc!scjones
From: scjones@sdrc.UUCP (Larry Jones)
Newsgroups: comp.std.c
Subject: Re: Query about typedef type-checking
Keywords: ANSI, dpANS, warnings, types, checking
Message-ID: <385@sdrc.UUCP>
Date: 15 Sep 88 22:32:20 GMT
References: <74@cybaswan.UUCP>
Organization: Structural Dynamics Research Corp., Cincinnati
Lines: 16