protux-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Protux-devel] commiting stuff


From: Luciano Giordana
Subject: Re: [Protux-devel] commiting stuff
Date: Thu, 29 May 2003 18:37:06 -0300
User-agent: KMail/1.4.3

Already renamed, I didnt know this problems was happening due my offline status.

it is all rewind_audio now



On Thursday 29 May 2003 12:01 pm, Martin Herren wrote:
> On Thu, 29 May 2003 15:56:35 +0200
>
> address@hidden (booker) wrote:
> > Hi,
> >
> > I got this error when running make (after a fresh checkout) ....
> >
> > MustuxAudioFileFormats.cc: In member function `void PrafFile::rewind()':
> > MustuxAudioFileFormats.cc:241: `rewind' undeclared in namespace `std'
> > MustuxAudioFileFormats.cc: In member function `void WavFile::rewind()':
> > MustuxAudioFileFormats.cc:484: `rewind' undeclared in namespace `std'
> > make[1]: *** [MustuxAudioFileFormats.lo] Error 1
> > make[1]: Leaving directory `/home/booker/cvs/mustux/mustuxlib'
> > make: *** [all] Error 2
> > address@hidden mustuxlib]$
> >
> > Maybe there should be some more #includes  added to
> > "MustuxAudioFileFormats.cc"  ?
>
> No, rewind should be in stdio.h, which is included.
>
> It's a problem which has been reported several time... depending on which
> version of the libc/libc++ you have it will compile or it will not... The
> only possible fix is to rename the 2 functions WavFile::rewind() and
> PrafFile::rewind() to something else than rewind... then the std::rewind()
> function can be accessed without the std:: namespace prefix, and so it will
> work even in cases where rewind() is not declared in the std namespace...
> (like in your case).
>
> I didn't want to make this change before as it would only have led to
> conflicts with Luciano's tree... but now we could definitively fix this
> problem...
>
> Luciano, you want to do this yourself ? we could call this function
> goto_begin() for example, or rewind_track()....
>
> /Martin

-- 
Best Regards
--
Luciano Giordana - Musician - Certified Java/GNU C++ Developer - Free Software 
Evangelist
Project Mustux - http://www.freesoftware.fsf.org/mustux
-- Once Palladium is up and running , I will become a hacker --




reply via email to

[Prev in Thread] Current Thread [Next in Thread]