Hi,
>
> In standard C++, friend functions that are only declared inside a class
> can only be found by argument-dependent lookup (and can only be defined
> inline, though it's not a syntax error to fail to do so!)
>
> The following patch fixes the compilation errors:
Hmm... is this the only way to work around ?
Isn't there a better way?
I can't really try this until amd64 has a gcc-4.1, but anyway, I'll keep an eye
open for a fix.
> --- src/plugins/sine.cpp~ 2002-07-06 18:23:17.000000000 +0100
> +++ src/plugins/sine.cpp 2006-03-10 01:34:55.587996975 +0000
> @@ -59,6 +59,22 @@
>
>
> /*****************************************************************************/
>
> +LADSPA_Handle instantiateSineOscillator(const LADSPA_Descriptor *,
> + unsigned long SampleRate);
> +void connectPortToSineOscillator(LADSPA_Handle Instance,
> + unsigned long Port,
> + LADSPA_Data * DataLocation);
> +void activateSineOscillator(void * pvHandle);
> +void cleanupSineOscillator(void *pvHandle);
> +void runSineOscillator_FreqAudio_AmpAudio(LADSPA_Handle Instance,
> + unsigned long SampleCount);
> +void runSineOscillator_FreqAudio_AmpCtrl(LADSPA_Handle Instance,
> + unsigned long SampleCount);
> +void runSineOscillator_FreqCtrl_AmpAudio(LADSPA_Handle Instance,
> + unsigned long SampleCount);
> +void runSineOscillator_FreqCtrl_AmpCtrl(LADSPA_Handle Instance,
> + unsigned long SampleCount);
> +
> class SineOscillator {
> private:
>
regards,
junichi
--
[EMAIL PROTECTED],netfort.gr.jp} Debian Project
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]