protux-bugs
[Top][All Lists]
Advanced

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

Re: [Protux-bugs] protux compile error - undeclared namespace std


From: Martin Herren
Subject: Re: [Protux-bugs] protux compile error - undeclared namespace std
Date: Tue, 25 Feb 2003 19:09:39 +0100

On Sat, 22 Feb 2003 15:47:28 +0100
Willie Sippel <address@hidden> wrote:

> Hi there. 
> Just tried to compile libmustux and protux (0.16, 0.17, latest cvs), and
> libmustux compiles and installs without errors. 
> But when I try to compile whatever version of protux, I allways get this
> error:
> 
> Audio.cc: In member function `int Audio::build(QString, QString)':
> Audio.cc:69: `rewind' undeclared in namespace `std'
> Audio.cc:101: `rewind' undeclared in namespace `std'
> make[3]: *** [Audio.o] Fehler 1
> make[3]: Verlassen des Verzeichnisses
> »/store/Download/protux/protux/src«
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Verlassen des Verzeichnisses
> »/store/Download/protux/protux/src«
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Verlassen des Verzeichnisses »/store/Download/protux/protux«
> make: *** [all] Fehler 2

rewind is defined in stdio.h, but depending of the compiler/libc installed, it 
may not be included into the std namespace...

removing the std:: in front of it doesn't work as there is a clash with 
Audio::rewind()... the best fix i see is to rename Audio::rewind to 
Audio::goto_begin() (there is already an Audio::goto_end()), to solve it...

what do you think of that Luciano ?

/Martin

-- 
Martin Herren

Protux - A Free Professional Audio Tool for GNU/Linux:
-> http://www.nongnu.org/protux/
Open your Windows - Free your Mind - Enjoy:
->http://gnuwin.epfl.ch

Attachment: pgpZMcx67YFFI.pgp
Description: PGP signature


reply via email to

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