typesafe symbols for C

Enrico Weigelt weigelt@metux.de
Sat Jan 29 22:33:00 GMT 2011


* Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 3 January 2011 05:37, Enrico Weigelt wrote:
> >
> > Hi folks,
> >
> >
> > is it somehow possible to let the C-compiler include some type
> > information into symbol names (as IMHO done for C++) ?
> 
> I don't think so.

hmm. where should I start if I wanted to add that ?

> > If not, what would have to be done for that ?
> 
> Use a C++ compiler.

hmm, maybe that's worth a try, but I doubt that all plain-C code
will compile fine then.


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weigelt@metux.de
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------



More information about the Gcc-help mailing list