Subject: Re: Namespace issues and lint
To: Jason Thorpe <thorpej@wasabisystems.com>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: tech-toolchain
Date: 06/11/2004 16:15:14
Jason Thorpe <thorpej@wasabisystems.com> writes:
> Because it needs to be "struct reg". Can you do:
OK, that's a good reason not to use typedef. #define is still
gross, since (as we see here) it puts "reg" into a namespace other
than that of structure names. I guess we get to duplicate the
definitions to clean up this mess, in addition to (possibly) fixing
lint to prefer macro parameter names to global names...
- Nathan