Hi Guys,

OK, I figured out what is happening finally!

wxHIDE_READONLY is defined in wxWidgets filedlg.h and is included only for wx 
2.4 compatibilty mode only (which, when I re-did all my wxWidgets configure 
stuff, I did not have set).

Now I can set 2.4 compatibility with no problems, but it opens the broader 
question, if 2.4 is already in "compatibility mode", should we be fixing M up 
to work under native 2.6+ now or later? Maybe we can make this the defining 
reason for the next release ;-)

Is there a way to change the Makefile temporarily so it won't quit after the 
first error but give us the whole set of errors so we can judge the extent of 
the work?

I'm just commencing my semester holidays so I have 4 months to fill. 
Unfortunately, I only commence C++ lectures when I re-commence next year. 
While I know how to fix undefined stuff, I don'thave sufficient knowledge yet 
of wxWidgets or C++ for bigger work.

MarkL

On Tue, 1 Nov 2005 08:25 am, Mark Livingstone wrote:
> Hi Vadim,
> I have started making M with the latest 2.7 wxWidgets. I am 3 or 4 of this
> sort of error:
>
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/
>ld: warning: creating a DT_TEXTREL in object. c++ -o adb/ExportVCard.so
> -shared -I/home/mlivingstone/projects/M/build/include
> -I/home/mlivingstone/projects/M/include -I/usr/include/python2.3 -DNO_IDEA
> -DNO_DSA -DOPENSSL_NO_KRB5 -DDEBUG -DDEBUG_mlivingstone
> -I/usr/local/lib/wx/include/gtk2-ansi-debug-2.7 -I/usr/local/include/wx-2.7
> -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> -D_LARGEFILE_SOURCE=1
> -I/home/mlivingstone/projects/M/build/lib/imap/c-client
> -I/home/mlivingstone/projects/M/lib/compface
> -I/home/mlivingstone/projects/M/src/wx/vcard -fno-exceptions -fno-rtti
> -fno-operator-names -I/usr/local/lib/wx/include/gtk2-ansi-debug-2.7
> -I/usr/local/include/wx-2.7 -D__WXDEBUG__ -D__WXGTK__
> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -g3 -O0 -MMD
> -Wall .src/adb/ExportVCard.cpp -export-dynamic .src/adb/ExportVCard.cpp: In
> member function `virtual bool
>    AdbVCardExporter::Export(const AdbEntry&, const String&)':
> .src/adb/ExportVCard.cpp:321: error: `wxHIDE_READONLY' undeclared (first
> use this function)
> .src/adb/ExportVCard.cpp:321: error: (Each undeclared identifier is
> reported only once for each function it appears in.)
> make[1]: *** [adb/ExportVCard.so] Error 1
> make[1]: Leaving directory `/home/mlivingstone/projects/M/build/src'
> make: *** [all] Error 2
> [EMAIL PROTECTED] ~/projects/M/build $
>
> Should I just include the relevant header file or do we need to make the
> inclusion version specific?


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Mahogany-Developers mailing list
Mahogany-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to