Re: Port from Win to OSX with Inline functions
Re: Port from Win to OSX with Inline functions
- Subject: Re: Port from Win to OSX with Inline functions
- From: Nat! <email@hidden>
- Date: Sun, 8 Oct 2006 20:04:50 +0200
Am 07.10.2006 um 01:46 schrieb David Leimbach:
Inline is a C99 keyword and still only a "hint" to the compiler.
To my knowledge, putting "inline" in a header file doesn't make it's
symbols static. And inline functions aren't allowed to also be static.
Is it a fact ?
You're probably better off grouping the inline functions into a .c
file and then #include'ng it wherever it's needed as well as making
the functions static. (though I believe both inline and static is
illegal in C99).
Or just a belief ?
Or is it merely a feeling ? :)
Circumstantial evidence shows that the contrary is probably true.
http://www.greenend.org.uk/rjk/2003/03/inline.html
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2003-October/
029219.html
http://developer.apple.com/documentation/developertools/gcc-4.0.1/gcc/
Inline.html
Ciao
Nat!
---------------------------------------------------------
I have a poetic license, and I am not afraid to invoke it.
-- DLR
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden