[ECOS] Namespace pollution

Jonathan Larmour jifl@eCosCentric.com
Tue Mar 4 15:18:00 GMT 2003

Andrew Lunn wrote:
> [Puts on "Knows nothing about C++" hat]
> Isn't it the compiler thats broken? key and destructor are for us
> humans. All the compiler needs is pthread_key_t * and void (*) (void
> *). The compile should take destructor as a comment and not a symbol.

Not if the typedef came first! Even were that true, the application would 
also have been entitled to do:

#define destructor void *

as a poor man's typedef.

eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine

Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list