diff -Naur tse3-0.2.7-org/src/tse3/app/Application.h tse3-0.2.7/src/tse3/app/Application.h
--- tse3-0.2.7-org/src/tse3/app/Application.h	2002-07-28 17:17:09.000000000 +0200
+++ tse3-0.2.7/src/tse3/app/Application.h	2005-01-16 17:01:36.000000000 +0100
@@ -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.2.7-org/src/tse3/app/Record.h tse3-0.2.7/src/tse3/app/Record.h
--- tse3-0.2.7-org/src/tse3/app/Record.h	2002-07-28 17:17:09.000000000 +0200
+++ tse3-0.2.7/src/tse3/app/Record.h	2005-01-16 17:01:56.000000000 +0100
@@ -36,7 +36,7 @@
     namespace Cmd
     {
         class CommandHistory;
-    };
+    }
 
     namespace App
     {
diff -Naur tse3-0.2.7-org/src/tse3/Midi.h tse3-0.2.7/src/tse3/Midi.h
--- tse3-0.2.7-org/src/tse3/Midi.h	2002-07-28 17:17:07.000000000 +0200
+++ tse3-0.2.7/src/tse3/Midi.h	2005-01-16 17:02:56.000000000 +0100
@@ -819,6 +819,6 @@
                 const MidiEvent &e1;
         };
     };
-};
+}
 
 #endif
diff -Naur tse3-0.2.7-org/src/tse3/Mutex.h tse3-0.2.7/src/tse3/Mutex.h
--- tse3-0.2.7-org/src/tse3/Mutex.h	2002-07-28 17:17:08.000000000 +0200
+++ tse3-0.2.7/src/tse3/Mutex.h	2005-01-16 17:03:36.000000000 +0100
@@ -315,7 +315,7 @@
 #endif
                 }
         };
-    };
+    }
 }
 
 #endif
diff -Naur tse3-0.2.7-org/src/tse3/Notifier.h tse3-0.2.7/src/tse3/Notifier.h
--- tse3-0.2.7-org/src/tse3/Notifier.h	2002-08-20 16:59:15.000000000 +0200
+++ tse3-0.2.7/src/tse3/Notifier.h	2005-01-16 17:06:06.000000000 +0100
@@ -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.2.7-org/src/tse3/plt/Arts.cpp tse3-0.2.7/src/tse3/plt/Arts.cpp
--- tse3-0.2.7-org/src/tse3/plt/Arts.cpp	2002-10-22 15:16:45.000000000 +0200
+++ tse3-0.2.7/src/tse3/plt/Arts.cpp	2005-01-16 17:06:49.000000000 +0100
@@ -74,7 +74,7 @@
 
     ArtsCommon *artsCommon     = 0;
     int         artsCommonInit = 0;
-};
+}
 
 
 ArtsMidiScheduler::ArtsMidiScheduler()
diff -Naur tse3-0.2.7-org/src/tse3/util/MulDiv.h tse3-0.2.7/src/tse3/util/MulDiv.h
--- tse3-0.2.7-org/src/tse3/util/MulDiv.h	2002-07-28 17:17:13.000000000 +0200
+++ tse3-0.2.7/src/tse3/util/MulDiv.h	2005-01-16 17:07:22.000000000 +0100
@@ -34,7 +34,7 @@
          * @return val * num / div (which coped with integer overflows)
          */
         extern int muldiv(int val, int num, int div);
-    };
+    }
 }
 
 #endif
