This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Prevent macro expansion of mblen


Jason Merrill <jason@redhat.com> writes:

| >>>>> "Gabriel" == Gabriel Dos Reis <gdr@codesourcery.com> writes:
| 
| > Jason Merrill <jason@redhat.com> writes:
| > | Sounds like we want the semantics of gcc 'extern inline'; namely, use the
| > | inline definition provided if possible, otherwise fall back on the symbol
| > | defined elsewhere.
| 
| > This is very close to what I'd like to have.  In addition to that, we
| > need to generate a text definition for that function.  Is that already
| > present in GCC?
| 
| I don't understand what you mean.  The out-of-line definition would be
| in the C library.

OK, I understand now you meant.  One problem is that those out-of-line
definitions are not always existent -- that is what prompt Alexandre's
patch in the first place.

| > | ...  __attribute__ ((pure_inline)), anyone?  inline_only?
| 
| > Well, I need to read the manual in order to understand all those
| > extensions.. :-)
| 
| Those were proposed names, not references to existing extensions.  The
| functionality in question doesn't currently exist in the C++ frontend.

OK. I'd adopt "inline_only".

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]