public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* -fno-default-inline
@ 2001-06-29 10:35 Mike Harrold
  2001-06-29 21:31 ` -fno-default-inline Alexandre Oliva
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Harrold @ 2001-06-29 10:35 UTC (permalink / raw)
  To: gcc-help

Hi,

I use the -fno-default-inline a lot, sometimes for debugging purposes and
othertimes (with pragma interface/implementation) for class containment.
I specifically mark as inline those functions that I want inlined.

However, the C++ library headers do not contain inline specifiers, thus
using -fno-default-inline causes all standard library functions to be
external, something that is pointless for the more trivial functions
(such as list::begin, etc.).

Would it be possible to differentiate between system headers and userspace
headers for -fno-default-inline, or perhaps to add a different pair of
options that exclude system headers?

Or is this a case of pleading with the libstdc++ folks to mark functions
as inline where appropriate?

Thanks,

/Mike

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-06-29 21:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-29 10:35 -fno-default-inline Mike Harrold
2001-06-29 21:31 ` -fno-default-inline Alexandre Oliva
2001-06-29 21:47   ` -fno-default-inline Mike Harrold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).