TSE3 bug report form
    ====================

    Name:                              [CSÉCSY László]
    Date:                              [2005-09-07]
    Email:                             [EMAIL PROTECTED]
    Your experience:                   [experienced programmer in C]
                                       [experienced unix user]
    TSE3 version number:               [0.3.0]
    OS name:                           [gnu linux]
    OS distribution:                   [Frugalware]
Run "uname -a": [Linux falcon 2.6.13-fw1 #1 SMP Mon Aug 29 10:48:13 CEST 2005 i686 athlon-4 i386 GNU/Linux]
    Do you use OSS or ALSA:            [Alsa 1.0.9]
    Compiler name and version:         [gcc 4.0.1]

    Description of bug:

    [tse3 doesn't compile because of various bugs]

    How to (repeatably) reproduce the bug:

    [Try to perform a clean build and you got errors like this:]
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -g -O2 -W -Wall -ansi -pedantic -MT Demidify.lo -MD -MP -MF .deps/Demidify.Tpo -c Demidify.cpp -fPIC -DPIC -DPIC -o Demidify.o
../../../src/tse3/Midi.h:822: error: extra ';'
../../../src/tse3/listen/Song.h:37: warning: 'class TSE3::SongListener' has virtual functions but non-virtual destructor
../../../src/tse3/Notifier.h:293: error: extra ';'
../../../src/tse3/Notifier.h:370: error: using typedef-name 'TSE3::Notifier<interface_type>::listener_type' after 'class' ../../../src/tse3/Notifier.h:368: error: 'TSE3::Notifier<interface_type>::listener_type' has a previous declaration here ../../../src/tse3/Notifier.h:370: error: friend declaration does not name a class or function ../../../src/tse3/Notifier.h:605: error: using typedef-name 'TSE3::Listener<interface_type>::notifier_type' after 'class' ../../../src/tse3/Notifier.h:575: error: 'TSE3::Listener<interface_type>::notifier_type' has a previous declaration here ../../../src/tse3/Notifier.h:605: error: friend declaration does not name a class or function ../../../src/tse3/listen/Track.h:33: warning: 'class TSE3::TrackListener' has virtual functions but non-virtual destructor ../../../src/tse3/listen/Part.h:35: warning: 'class TSE3::PartListener' has virtual functions but non-virtual destructor ../../../src/tse3/listen/DisplayParams.h:33: warning: 'class TSE3::DisplayParamsListener' has virtual functions but non-virtual destructor ../../../src/tse3/listen/DisplayParams.h:48: warning: 'class TSE3::PresetColoursListener' has virtual functions but non-virtual destructor ../../../src/tse3/listen/Phrase.h:33: warning: 'class TSE3::PhraseListener' has virtual functions but non-virtual destructor ../../../src/tse3/listen/MidiFilter.h:32: warning: 'class TSE3::MidiFilterListener' has virtual functions but non-virtual destructor ../../../src/tse3/listen/MidiParams.h:32: warning: 'class TSE3::MidiParamsListener' has virtual functions but non-virtual destructor ../../../src/tse3/listen/PhraseEdit.h:36: warning: 'class TSE3::PhraseEditListener' has virtual functions but non-virtual destructor ../../../src/tse3/listen/PhraseList.h:33: warning: 'class TSE3::PhraseListListener' has virtual functions but non-virtual destructor ../../../src/tse3/Progress.h:34: warning: 'class TSE3::Progress' has virtual functions but non-virtual destructor ../../../src/tse3/Notifier.h: In destructor 'TSE3::Notifier<interface_type>::~Notifier() [with interface_type = TSE3::PlayableListener]':
../../../src/tse3/Playable.h:49:   instantiated from here
../../../src/tse3/Notifier.h:671: error: 'void TSE3::Listener<interface_type>::NotifierImpl_Deleted(typename interface_type::notifier_type*) [with interface_type = TSE3::PlayableListener]' is private
../../../src/tse3/Notifier.h:474: error: within this context
make[4]: *** [Demidify.lo] Error 1

    Any other comments:

[I have worked on it some nights and forged this patch attached, now tse3 compiles. But it can't run, shown below.]


--------------------------------------------------------------------------

    Please attach the output of "tse3play --verbose" below:

    [
$ tse3play anything.mid --verbose

*** tse3play (verbose mode) ***

tse3play version 1.0 built on Sep  6 2005
TSE3 library version:   0.3.0
TSE3 library copyright: (c) Pete Goodliffe, 2000-2002. A Trax Software Product.

TSE3 error detected: Failed to create the MIDI scheduler
$
]


--------------------------------------------------------------------------

Please attach the output of "cat /dev/sndstat" and "cat /proc/asound/devices" below:

    [
$ cat /dev/sndstat
cat: /dev/sndstat: No such file or directory
$ ls -ld /dev/snd*
drwxr-xr-x  2 root root 0 2005-09-07 14:54 /dev/snd/
$ ls -lR /dev/snd*
/dev/snd:
total 0
crw-rw-rw-  1 root sys 116,  0 2005-09-07 12:54 controlC0
crw-rw-rw-  1 root sys 116, 32 2005-09-07 12:54 controlC1
crw-rw-rw-  1 root sys 116, 24 2005-09-07 12:54 pcmC0D0c
crw-rw-rw-  1 root sys 116, 16 2005-09-07 12:54 pcmC0D0p
crw-rw-rw-  1 root sys 116, 25 2005-09-07 12:54 pcmC0D1c
crw-rw-rw-  1 root sys 116, 18 2005-09-07 12:54 pcmC0D2p
crw-rw-rw-  1 root sys 116,  1 2005-09-07 16:48 seq
crw-rw-rw-  1 root sys 116, 33 2005-09-07 14:54 timer
$ cat /proc/asound/devices
 18: [0- 2]: digital audio playback
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
  1:       : sequencer
 33:       : timer
 40: [1- 0]: raw midi
 32: [1- 0]: ctl
$
]


--------------------------------------------------------------------------
By the way, /dev/sndstat and /proc/sound are no more aviable since 2.3.50, they were obsolete since 2.2 - says Christoph Hellwig on LKML (http://www.ussg.iu.edu/hypermail/linux/kernel/0003.1/0073.html).
--
Bye
Boobaa
---------------------
http://boobaa.ajrg.hu
diff -Naur tse3-0.3.0-orig/src/tse3/app/Application.h tse3-0.3.0/src/tse3/app/Application.h
--- tse3-0.3.0-orig/src/tse3/app/Application.h	2005-05-25 15:33:05.000000000 +0200
+++ tse3-0.3.0/src/tse3/app/Application.h	2005-09-05 01:10:59.000000000 +0200
@@ -35,12 +35,12 @@
     namespace Cmd
     {
         class CommandHistory;
-    };
+    }
 
     namespace Ins
     {
         class Destination;
-    };
+    }
 
     /**
      * The App namespace contains classes that use the @ref TSE3
diff -Naur tse3-0.3.0-orig/src/tse3/app/Record.h tse3-0.3.0/src/tse3/app/Record.h
--- tse3-0.3.0-orig/src/tse3/app/Record.h	2005-05-25 15:33:05.000000000 +0200
+++ tse3-0.3.0/src/tse3/app/Record.h	2005-09-05 01:11:11.000000000 +0200
@@ -36,7 +36,7 @@
     namespace Cmd
     {
         class CommandHistory;
-    };
+    }
 
     namespace App
     {
diff -Naur tse3-0.3.0-orig/src/tse3/listen/Phrase.h tse3-0.3.0/src/tse3/listen/Phrase.h
--- tse3-0.3.0-orig/src/tse3/listen/Phrase.h	2005-05-25 15:33:10.000000000 +0200
+++ tse3-0.3.0/src/tse3/listen/Phrase.h	2005-09-05 01:08:04.000000000 +0200
@@ -17,6 +17,8 @@
 #ifndef TSE3_LISTEN_PHRASE_H
 #define TSE3_LISTEN_PHRASE_H
 
+#include "tse3/listen/PhraseEdit.h"
+
 namespace TSE3
 {
     class Phrase;
diff -Naur tse3-0.3.0-orig/src/tse3/Midi.h tse3-0.3.0/src/tse3/Midi.h
--- tse3-0.3.0-orig/src/tse3/Midi.h	2005-05-25 15:33:11.000000000 +0200
+++ tse3-0.3.0/src/tse3/Midi.h	2005-09-05 00:18:22.000000000 +0200
@@ -819,6 +819,6 @@
                 const MidiEvent &e1;
         };
     };
-};
+}
 
 #endif
diff -Naur tse3-0.3.0-orig/src/tse3/Mutex.h tse3-0.3.0/src/tse3/Mutex.h
--- tse3-0.3.0-orig/src/tse3/Mutex.h	2005-05-25 15:33:11.000000000 +0200
+++ tse3-0.3.0/src/tse3/Mutex.h	2005-09-05 01:13:50.000000000 +0200
@@ -315,7 +315,7 @@
 #endif
                 }
         };
-    };
+    }
 }
 
 #endif
diff -Naur tse3-0.3.0-orig/src/tse3/Notifier.h tse3-0.3.0/src/tse3/Notifier.h
--- tse3-0.3.0-orig/src/tse3/Notifier.h	2005-05-25 15:33:11.000000000 +0200
+++ tse3-0.3.0/src/tse3/Notifier.h	2005-09-05 00:19:02.000000000 +0200
@@ -290,7 +290,7 @@
                 const p4_type       &p4;                                 // (*)
         };
 
-    };
+    }
 
     /**************************************************************************
      * Public Notifier framework API
@@ -367,7 +367,7 @@
              */
             typedef Listener<interface_type> listener_type;
 
-            friend class listener_type;
+            friend class Listener<interface_type>;
 
         protected:
 
@@ -602,7 +602,7 @@
                 if (notifiers.erase(notifier)) notifier->detach(this);
             }
 
-            friend class notifier_type;
+            friend class Notifier<interface_type>;
 
         protected:
 
diff -Naur tse3-0.3.0-orig/src/tse3/util/MulDiv.h tse3-0.3.0/src/tse3/util/MulDiv.h
--- tse3-0.3.0-orig/src/tse3/util/MulDiv.h	2005-05-25 15:33:08.000000000 +0200
+++ tse3-0.3.0/src/tse3/util/MulDiv.h	2005-09-05 00:18:46.000000000 +0200
@@ -34,7 +34,7 @@
          * @return val * num / div (which coped with integer overflows)
          */
         extern int muldiv(int val, int num, int div);
-    };
+    }
 }
 
 #endif
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to