Re: Feature Request for C

2017-05-08 Thread Florian Weimer via gcc
On 05/06/2017 07:09 PM, Taylor Holberton wrote: Except instead of using c++ style mangling, it would simply just prepend the name of the namespace to the symbols in the file. Would this also apply to type names and struct tags? How does it interfere with the name resolution in the body of inl

Feature Request for C

2017-05-06 Thread Taylor Holberton
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); }