Mark Livingstone | 31 Oct 2005 23:25
Picon

wxHIDE_READONLY

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 <at> constellation ~/projects/M/build $    

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

(Continue reading)


Gmane