Mail Archives: djgpp/1998/11/29/09:55:41
In article <19981127 DOT 7330233 AT eev6 DOT eev>, Michael Schuster <schuster AT eev DOT e-technik DOT uni-erlangen DOT de> wrote:
>doesn't gxx does this inline - expanding.
>Also djgpp version 2.7.xx worked without -O.
>Additionally does it mean, when declaring something as inline and=20
>don't use the -O option this prog won't compile???
>
>Just thinking....
>
>Gruesse=20
>Michi
>
>
>
=20?
Anyway, good thinking!
I thought using the inline keyword / including the function code in the
definition, was a kind of suggestion to the compiler. Whether the function was
then actually inlined is another question. But inlined or not, the function
should be defined and declared that way.
Is DJGPP forgetting functions that were supposed to be inlined, but weren't
because of the missing commandline option?
Would be good to no, no matter whether it concerns the string class or my own
classes, wouldn't it?
-----------------------------------------------------------
Manni Heumann
Bielefeld, Germany
Spammers use reply-adress,
all others: mheumann AT post DOT uni-bielefeld DOT de
-----------------------------------------------------------
- Raw text -