[linux-audio-dev] wcnt-1.1z released!

martijn martijn at pacno.net
Tue May 4 00:05:55 UTC 2004


Once upon a Thu, Apr 15 2004, James W. Morris hit keys in the following order:
> 
> >Anyway, thanks for applying the gcc3 patches. I ran into only two includes
> >without use namespace declarations, and it also appears gcc3 tries to be
> >intelligent and interprets "or" as "||" :S
> 
> 'S Ok.   -- Hermmh,  not quite sure what you're getting at ?

Oh, i forgot the patches, here they are.

>  Did you place the example in wcnt-1.1z/examples dir as suggested, and/or 
> change the path to the samples it needs so it can get to them?

Probably not... tried it again and it works flawlessly.

Martijn.
-------------- next part --------------
--- include/dobjnames.h.orig	2004-04-07 10:55:36.560126736 +0200
+++ include/dobjnames.h	2004-04-07 10:55:48.635291032 +0200
@@ -5,6 +5,8 @@
 
 #include <string>
 
+using namespace std;
+
 // if you want to add new dobj types then MAKE SURE you add them 
 // to the CORRECT part of the enum.... and be prepared for hassle!
 
-------------- next part --------------
--- include/iocat.h.orig	2004-04-07 10:53:12.742990264 +0200
+++ include/iocat.h	2004-04-07 10:54:02.198471888 +0200
@@ -5,6 +5,8 @@
 
 #include <string>
 
+using namespace std;
+
 // Used by triggers and switches and states 
 enum STATUS { OFF, ON };
 
-------------- next part --------------
--- src/jwmsynth.cc.orig	2004-04-12 15:23:05.153090592 +0200
+++ src/jwmsynth.cc	2004-04-12 15:23:51.084108016 +0200
@@ -234,19 +234,19 @@
 		string ni = "-ni";
 	string freq = "--freq-info";
 		string fi = "-fi";
-	string or = " or ";
+	string oar = " or ";
 	string commandoptions = author + wcnt + filename;
-	commandoptions += wcnt + verbal + or + v + filename;
+	commandoptions += wcnt + verbal + oar + v + filename;
 	commandoptions += wcnt + header;
-	commandoptions += wcnt + modhelp + or + mh;
-	commandoptions += wcnt + modhelp + or + mh + " modulename";
-	commandoptions += wcnt + dobjhelp + or + dh;
-	commandoptions += wcnt + dobjhelp + or + dh + " dataobjectname";
-	commandoptions += wcnt + inputhelp + or + ih + " inputname"; 
-	commandoptions += wcnt + filename + inputhelp + or + ih + " inputname";
-	commandoptions += wcnt + sampleinfo + or + si + " audiosample.wav";
-	commandoptions += wcnt + note + or + ni + " note name";
-	commandoptions += wcnt + freq + or + fi + " frequency  samplerate";
+	commandoptions += wcnt + modhelp + oar + mh;
+	commandoptions += wcnt + modhelp + oar + mh + " modulename";
+	commandoptions += wcnt + dobjhelp + oar + dh;
+	commandoptions += wcnt + dobjhelp + oar + dh + " dataobjectname";
+	commandoptions += wcnt + inputhelp + oar + ih + " inputname"; 
+	commandoptions += wcnt + filename + inputhelp + oar + ih + " inputname";
+	commandoptions += wcnt + sampleinfo + oar + si + " audiosample.wav";
+	commandoptions += wcnt + note + oar + ni + " note name";
+	commandoptions += wcnt + freq + oar + fi + " frequency  samplerate";
     if (options_count == 1) {
         err_msg = commandoptions + "\n";
         return false;


More information about the Linux-audio-dev mailing list