wxHIDE_READONLY

"Mark Livingstone" <[email protected]>
Newsgroups gmane.mail.mahogany.devel
Message-ID <efhbncou.yzbv4jws48qa@aydudzv>
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
mlivingstone@constellation ~/projects/M/build $    

Should I just include the relevant header file or do we need to make the inclusion version specific?

I start studying C++ next semester (March) so then I will reallly be dangerous ;-D

Cheers,

MarkL


-------------------------------------------------------
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
Visit http://www.jboss.com/services/certification for more information
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.