RFC: Stricter semantics for renaming pragmas

Ian Lance Taylor ian@wasabisystems.com
Wed May 19 17:21:00 GMT 2004


Ian Lance Taylor <ian@wasabisystems.com> writes:

> #pragma redefine_extname appears in Solaris system headers.  Support
> for it is required to compile programs on Solaris.  For example, see
>     http://gcc.gnu.org/ml/gcc-patches/2001-11/msg01966.html
> although a different patch was later adopted.
> 
> I presume from the documentation that #pragma extern_prefix appears in
> Tru64 system headers, but I don't know that from direct observation.
> 
> I hope that neither #pragma is used anywhere else.

Well, I'm wrong there, as libmudflap/mf-runtime.h.in uses #pragma
redefine_extname.

Ian



More information about the Gcc mailing list