Subject: Re: Compiler Symbols (Re: Compiling the kernel)
To: paul <pwain@nc.com>
From: Neil A. Carson <neil@causality.com>
List: port-arm32
Date: 02/15/1998 11:36:12
paul wrote:
> 
> In c++ things become a little more complicated (for example if there were
> multiple instances of a function add(int a, int b) and say add(float a,
> float b) in class maths, and there was a static initalize addressing the
> second one you would end up with something like _GLOBAL_$I$_maths_3addff,
> and if it was the int one but not used globally _maths_3adddd (GLOBAL for an
> initalized, $I$ for a constructor, $D$ for a destructor, _maths for the
> class _ to separate the function, an integer for the length of the function
> name, the function name, and then if multiple instances of the same function
> exist, combinations of d (int), f (float), p (pointer) and v (void) for the
> combination of arguments). Variables may have their class prepended (e.g.
> _maths_foo)

What happens if they are in a separate namespace?

	N.