Re: Don't cvs update now, if ...



Sorry for the incovenience. The M$ compiler docs claim this construct to
be correct (there is no warning at all for the redefinition and at least
for C++ this is standard conform :) See :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang98/ht
ml/_pluslang_redeclaration_of_typedef_names.asp

For ANSI C, declarator identifiers have to be unique (see K&R 2.ed p216 and
219).  So it's a no-no.


Incidentally, why are we referring to the Microsoft compiler docs as evidence of the standard?

Levi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]