Subject: wmmixer or g++ problem
To: None <tech-pkg@netbsd.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: tech-pkg
Date: 09/26/2003 17:35:15
Hello,

I'm trying to build the wmmixer package in audio and here's the error...

===> Building for wmmixer-1.0
/usr/bin/touch /usr/pkgsrc/audio/wmmixer/work.i386/wmmixer/wmmixer.man
g++ -O2    -I/usr/X11R6/include   -DCSRG_BASED       -I/usr/pkg/include 
-I/usr/X11R6/include -c wmmixer.cc
wmmixer.cc: In function `void checkVol(bool)':
wmmixer.cc:506: error: default argument given for parameter 1 of `void
    checkVol(bool)'
wmmixer.cc:132: error: after previous specification in `void checkVol(bool)'
*** Error code 1

Stop.

... but it seems that this code hasn't changed since last time I built. 
However, gcc has (v3.3.1 from v2.95.3). Could it be that the "default 
arguments" are a problem with the newer compiler?

Any help would be great. Thanks,

Louis