Your message dated Mon, 11 Sep 2006 18:12:13 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Removed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: mxv
Severity: normal
Tags: patch

When building 'mxv' with gcc-3.4 I get the following error:

g++  -O2 -fkeep-inline-functions -fno-operator-names  -Wall -Wno-unused 
-Wno-import -Wno-extern-inline -Ddebug -O2  -DALSA -DXDisplay=_XDisplay 
-DCOMPLEX_SUPPORTED -DNDEBUG -Dcplusplus_2_1 -Wno-deprecated -Div2_6_compatible 
  -I/mxv-1.32/LINUX/.. -I../g++include/ -I/usr/local/include/g++ 
-I/usr/X11R6/include/IV-2_6  -I/usr/X11R6/include     -c 
/mxv-1.32/LINUX/../converter.C
cc1plus: error: unrecognized command line option "-Wno-extern-inline"
make[2]: *** [converter.o] Error 1
make[2]: Leaving directory `/mxv-1.32/LINUX'

With the attached patch 'mxv' can be compiled using gcc-3.4.

Regards
Andreas Jochens

diff -urN ../tmp-orig/mxv-1.32/Imakefile ./Imakefile
--- ../tmp-orig/mxv-1.32/Imakefile      2004-11-04 16:05:53.276049256 +0000
+++ ./Imakefile 2004-11-04 15:09:27.266800904 +0000
@@ -215,7 +215,7 @@
 
 #if HasGcc2
 CC = gcc -pipe -Wall $(OPTIMIZE_CCFLAGS) -finline-functions
-APP_CCFLAGS = $(ARCH_CCFLAGS) -Wall -Wno-unused -Wno-import -Wno-extern-inline 
+APP_CCFLAGS = $(ARCH_CCFLAGS) -Wall -Wno-unused -Wno-import
 TEMPLATE_OPTIMIZE_CCFLAGS = -g
 #else
 #CC = cc -O
diff -urN ../tmp-orig/mxv-1.32/MyString.h ./MyString.h
--- ../tmp-orig/mxv-1.32/MyString.h     2003-04-23 04:38:52.000000000 +0000
+++ ./MyString.h        2004-11-04 15:47:06.276379248 +0000
@@ -55,17 +55,17 @@
 class SubString
 {
   friend class      String;
-protected:
 
+protected:
   String&           S;        // The String I'm a substring of
   unsigned short    pos;      // starting position in S's rep
   unsigned short    len;      // length of substring
 
   void              assign(StrRep*, const char*, int = -1);
                     SubString(String& x, int p, int l);
+public:
                     SubString(const SubString& x);
 
-public:
 
 // Note there are no public constructors. SubStrings are always
 // created via String operations
diff -urN ../tmp-orig/mxv-1.32/aiff_header.C ./aiff_header.C
--- ../tmp-orig/mxv-1.32/aiff_header.C  2004-05-24 21:35:53.000000000 +0000
+++ ./aiff_header.C     2004-11-04 15:37:39.404556864 +0000
@@ -448,7 +448,7 @@
 
 // in writeTo() we do the opposite
 
-class ValueSetter<CompressionName> : public ValueSetterBase {
+template <> class ValueSetter<CompressionName> : public ValueSetterBase {
 public:
     ValueSetter(CompressionName *name) : myName(name) {}
     redefined int readAndSet(DataFile *f) {
diff -urN ../tmp-orig/mxv-1.32/alsa_converter.h ./alsa_converter.h
--- ../tmp-orig/mxv-1.32/alsa_converter.h       2003-11-15 23:00:02.000000000 
+0000
+++ ./alsa_converter.h  2004-11-04 15:10:24.063166544 +0000
@@ -71,7 +71,6 @@
        class ALSA_ConfigRequester : public RealConverter::ConfigRequester {
        public:
            ALSA_ConfigRequester(RealConverter* cnverter) : 
ConfigRequester(cnverter) {}
-       protected:
            redefined void configureRequest(Request *);
            redefined boolean confirmValues();
        private:
diff -urN ../tmp-orig/mxv-1.32/datamodifier.h ./datamodifier.h
--- ../tmp-orig/mxv-1.32/datamodifier.h 2004-08-08 20:02:08.000000000 +0000
+++ ./datamodifier.h    2004-11-04 15:45:25.070764840 +0000
@@ -42,8 +42,8 @@
 class DataEditor;
 
 class DataModifier : public Modifier {
-       typedef Modifier Super;
 public:
+       typedef Modifier Super;
        DataModifier(Data* data, bool needUndo);
        DataModifier(Data* data, DataEditor* editor, bool needUndo);
        virtual ~DataModifier();
diff -urN ../tmp-orig/mxv-1.32/header.h ./header.h
--- ../tmp-orig/mxv-1.32/header.h       2000-02-15 19:33:00.000000000 +0000
+++ ./header.h  2004-11-04 15:11:13.349673856 +0000
@@ -143,7 +143,6 @@
        public:
                FrameConfigRequester(const char* title, Header* h)
                        : ConfigRequester(title, h) {}
-       protected:
                redefined void configureRequest(Request *);
        };
        friend void FrameConfigRequester::configureRequest(Request *);
@@ -190,7 +189,6 @@
        public:
                FFTConfigRequester(Header* h)
                        : FrameConfigRequester("Read Raw FFT File:", h) {}
-       protected:
                redefined void configureRequest(Request *);
        };
        friend void FFTConfigRequester::configureRequest(Request *);
diff -urN ../tmp-orig/mxv-1.32/lpcheader.h ./lpcheader.h
--- ../tmp-orig/mxv-1.32/lpcheader.h    1999-04-29 21:42:34.000000000 +0000
+++ ./lpcheader.h       2004-11-04 15:36:20.438561520 +0000
@@ -65,7 +65,6 @@
                typedef FrameConfigRequester Super;
        public:
                LPCConfigRequester(Header* h);
-       protected:
                redefined void configureRequest(Request *);
                redefined boolean confirmValues();
        };
diff -urN ../tmp-orig/mxv-1.32/repclone.C ./repclone.C
--- ../tmp-orig/mxv-1.32/repclone.C     1999-02-25 22:58:25.000000000 +0000
+++ ./repclone.C        2004-11-04 15:41:22.346664512 +0000
@@ -46,10 +46,10 @@
 Cloned<Rep>::Cloned(Rep *r, const Range &selection, const Range &chanrange)
                : Rep(r),
                  Clone(r,
-                       selection.intMin() < realLength() ? selection.size() : 
0,
+                       selection.intMin() < this->realLength() ? 
selection.size() : 0,
                        chanrange.size()) {
        offsetPointer(
-               getHandle(selection.intMin(), chanrange.intMin()) - 
arrayOffset()
+               getHandle(selection.intMin(), chanrange.intMin()) - 
this->arrayOffset()
        );
 }
 
@@ -68,7 +68,7 @@
        int oldlen = master->length();
        if(master->changeLength(newlen)) {
                int diff = master->length() - oldlen;
-               len += diff;
+               this->len += diff;
                cloneLen += diff;
                return 1;
        }
diff -urN ../tmp-orig/mxv-1.32/repclone.h ./repclone.h
--- ../tmp-orig/mxv-1.32/repclone.h     1999-04-30 21:15:33.000000000 +0000
+++ ./repclone.h        2004-11-04 15:40:48.300840264 +0000
@@ -101,7 +101,7 @@
        redefined int channels() const { return Clone::channels(); }
        redefined int length() const { return Clone::length(); }
        redefined void changeNChans(int newchans);
-       redefined addr getAddressOfContiguousData() const { return 
(*a)[offset]; }
+       redefined addr getAddressOfContiguousData() const { return 
(*this->a)[this->offset]; }
        redefined int changeLength(int newlen);
 private:
        friend class Data;
diff -urN ../tmp-orig/mxv-1.32/soundheader.h ./soundheader.h
--- ../tmp-orig/mxv-1.32/soundheader.h  2004-10-10 00:14:52.000000000 +0000
+++ ./soundheader.h     2004-11-04 15:36:40.587498416 +0000
@@ -81,7 +81,6 @@
                        : public Header::ConfigRequester, public 
FormatRequester {
        public:
                SoundConfigRequester(Header *);
-       protected:
        redefined void configureRequest(Request *);
        };
        friend SoundConfigRequester::SoundConfigRequester(Header *);
diff -urN ../tmp-orig/mxv-1.32/valuerequester.h ./valuerequester.h
--- ../tmp-orig/mxv-1.32/valuerequester.h       1996-03-10 22:31:47.000000000 
+0000
+++ ./valuerequester.h  2004-11-04 15:44:17.122094608 +0000
@@ -66,7 +66,7 @@
                : ValueRequester<T>(title, label, value), theRange(range) {}
 protected:
        inline redefined void configureRequest(Request* request) {
-               request->appendValue(requestLabel, &theValue, theRange);
+               request->appendValue(this->requestLabel, &this->theValue, 
theRange);
        }
 private:
        const Range& theRange;


--- End Message ---
--- Begin Message ---
RoQA; old, buggy, maintainer probably MIA
-- 
Martin Michlmayr
http://www.cyrius.com/

--- End Message ---

Reply via email to