Hello!
I would like to know if adding namespaces for the C language (as a gnu
extension) could be added in GCC.
Except instead of using c++ style mangling, it would simply just
prepend the name of the namespace to the symbols in the file.
For example:
_Namespace ncurses_
{
int savetty(void);
}
Would be exported as ncurses_savetty, and could be called outside of
the namespace as:
ncurses_savetty();
This would ease the maintenance of a lot of existing C projects that
use this kind of naming convention.
--
Taylor Holberton
Petaluma, CA