On Sun 01/03/10 07:27 , Walter Fey [email protected] sent:
> Hallo David,
> Build fails for all current openSUSE x86_64 versions.

> -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -MT fldigi-configuration.o -MD -MP -MF
> .deps/fldigi-configuration.Tpo -c -o fldigi-configuration.o `test -f
> 'misc/configuration.cxx' || echo './'`misc/configuration.cxx
> misc/configuration.cxx: In function 'void setup_rsid_menus()':
> misc/configuration.cxx:357: error: call of overloaded 'add(const
> char*
> const&, NULL, NULL, NULL, int)' is ambiguous
> /usr/include/FL/Fl_Menu_.H:63: note: candidates are: int
> Fl_Menu_::add(const char*, int, void (*)(Fl_Widget*, void*), void*,
> int)
> /usr/include/FL/Fl_Menu_.H:64: note:                 int
> Fl_Menu_::add(const char*, const char*, void (*)(Fl_Widget*, void*),
> void*, int)

The same error is reported on Fedora Core 11 x86_64.

What worked for me was changing configuration.cxx line 357 to:

mRSIDRxModes->add(mode_info[i].name, (const char *)NULL,
                                      (Fl_Callback *)NULL, (void *)NULL,
                                      FL_MENU_TOGGLE | FL_MENU_VALUE | 
FL_MENU_INVISIBLE);

I don't know which of the add() calls was intended, but the resulting
binary appears to work on FC11.

P.J. "Josh" Rovero        Ham Radio:  KK1D
ABC:  9277                   1985 BMW R80RT
Web:     http://www.roveroresearch.org

 

_______________________________________________
fldigi-alpha mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/fldigi-alpha

Reply via email to