[tremor] inline vs __inline

Eric Fortier efortier at techlogic.ca
Tue Oct 22 16:10:02 PDT 2002



Hi all.

I've been wrestling with a few compile errors recently, and I tought I would
share what I found.

In several files you have "inline" functions. This is not a problem, however,
under Microsoft compilers, the inline is a C++ specifier.

In order to compile under MS, you need to change that to __inline, since
all the tremor files are C and not C++.

Maybe you could achieve the same results by compiling the C files as C++,
but I prefer keeping both separate.

I am totally clueless in regard to ANSI specs, so I don't know if this is
a MS specific issue, or if indeed "inline" is a C++ specifier.

Anyone can shed some light on this?

Thanks!

Eric Fortier

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'tremor-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Tremor mailing list