:: > 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? :)
::
So, now the source is usable for g++.
Layer 1 and 2 decoding is disabled. Too much deadly sins per line.
Using structs and typedef structs with the same name and other horror
videos.
Don't disturb the remaining thousands of warnings. C++ have problems
more problems to compile every collection of ASCII characters ;-)
--
Mit freundlichen Gr��en
Frank Klemm
eMail | [EMAIL PROTECTED] home: [EMAIL PROTECTED]
phone | +49 (3641) 64-2721 home: +49 (3641) 390545
sMail | R.-Breitscheid-Str. 43, 07747 Jena, Germany
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )