> From: "Segher Boessenkool" <[EMAIL PROTECTED]>
>
> > How to compile lame on a system where only a C++ compiler is available
(the
> > C compiler costs extra money)? Currently lame generates nearly
uncountable
> > errors with a C++ compiler.
>
> Put
>
> extern "C" {
> }
>
> around everything? (Around a whole file is ok, I believe).

That only affects the linkage of functions (e.g. disables name mangling).

There's no easy way to do it in general. I've done it a few times for some
fairly large pieces of code, and it's no fun at all. Then there's the
maintenance...

Is the C compiler expensive? :)

-- Mat.


--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to