This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> Beware, build_library_fn_1 is used for both C++ and C linkage. > My patch, copied below, only affects functions with C++ linkage. [...] > + if (current_namespace != global_namespace) > + DECL_CONTEXT (fn) = current_namespace; What is the difference between the two patches? FROB_CONTEXT does exactly that... Regards, Martin
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |