Menu

#8 Jazz++ compile dies with ISO compiler error

open
nobody
None
5
2012-12-12
2010-11-04
thardman
No

On a mixed Slackware system (mostly 12.2 partially upgraded to 13.1, 32-bit system) compiling Jazz fails.

A note on the Slackware system: in order to enable compilation, it was necessary to recompile first the XCB libraries, and then to recompile both libdrm and libX11 to escape the well-documented problem of undefined references with libxbc-xlib. After recompiling and installing to fix these errors, CAIRO and PANGO were also recompiled and installed along with the rest of X11. Also compiled were wxWidgets and Rtf2txt.

Jazz++ (revision 826) compile fails, thus:

mv -f .deps/QuantizeDialog.Tpo .deps/QuantizeDialog.Po
g++ -DHAVE_CONFIG_H -I. -I../../jazz/src -DJAZZ_DATADIR=\"/usr/local/Jazz++/share/Jazz++\" -Wall -Wno-unknown-pragmas -I../../jazz/Bitmaps -I/usr/local/wx-2.8.10/lib/wx/include/gtk2-ansi-debug-2.8 -I/usr/local/wx-2.8.10/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -g -fno-inline -O0 -MT SamplesDialog.o -MD -MP -MF .deps/SamplesDialog.Tpo -c -o SamplesDialog.o `test -f 'Dialogs/SamplesDialog.cpp' || echo '../../jazz/src/'`Dialogs/SamplesDialog.cpp

../../jazz/src/Dialogs/SamplesDialog.cpp:41: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say '&JZSamplesDialog::OnSelectSampleFile'
make[3]: *** [SamplesDialog.o] Error 1

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.