[Rosegarden-devel] strange compile error

Building 0.9rc6 on FreeBSD with the default ./configure options, it
gets through base and sound with no problems but then bombs out on
the first file in gui:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include
-I/usr/X11R6/include -I../base -I../sound -fexceptions -pthread
-DQT_THREAD_SUPPORT -D_THREAD_SAFE -DRGKDE3 -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -O2 -fno-exceptions -fno-check-new
-c -o audiomanagerdialog.o `test -f audiomanagerdialog.cpp || echo
'./'`audiomanagerdialog.cpp
audiomanagerdialog.cpp: In method `void
Rosegarden::AudioManagerDialog::slotPopulateFileList()':
audiomanagerdialog.cpp:343: exception handling disabled, use
-fexceptions to enable
audiomanagerdialog.cpp: In method `bool
Rosegarden::AudioManagerDialog::addFile(const KURL &)':
audiomanagerdialog.cpp:1016: `e' undeclared (first use this function)
audiomanagerdialog.cpp:1016: (Each undeclared identifier is reported
only once
audiomanagerdialog.cpp:1016: for each function it appears in.)
../base/Event.h: In method `long int Rosegarden::Event::get<Int>(const
Rosegarden::PropertyName &) const':
../base/Composition.h:645: instantiated from here
../base/Event.h:408: warning: control reaches end of non-void function
`Rosegarden::Event::get<Int>(const Rosegarden::PropertyName &) const'
gmake[3]: *** [audiomanagerdialog.o] Error 1
The basic problem here is that -fno-exceptions is suddenly being used.
For all the files in base and sound, the compile command line ended
with this:
-fno-exceptions -fno-check-new -fexceptions
which is kind of rough and ready but does what we want. But in gui
it just ends after the -fno-check-new as above. Why?
Chris