On Thu, 9 Oct 2003 13:28:54 +0200 (CEST) Robert Vazan <[EMAIL PROTECTED]> wrote:
RV> On Tue, 7 Oct 2003 14:25:36 +1000 (EST) Mark Livingstone RV> <[EMAIL PROTECTED]> wrote: RV> RV> > .src/gui/wxOptionsDlg.cpp:1884: `MCB_FOLDEROPEN' was not declared in this scope RV> > .src/gui/wxOptionsDlg.cpp:1885: `MCB_FOLDERUPDATE' was not declared in this scope RV> > .src/gui/wxOptionsDlg.cpp:1886: `MCB_FOLDEREXPUNGE' was not declared in this scope RV> > .src/gui/wxOptionsDlg.cpp:1887: `MCB_FOLDERSETMSGFLAG' was not declared in this scope RV> > .src/gui/wxOptionsDlg.cpp:1888: `MCB_FOLDERCLEARMSGFLAG' was not declared in this scope RV> RV> Well, it's all declared in Mcallbacks.h. What's the problem with #including RV> it in wxOptionsDlg.cpp? Nothing now you have given me the clue :-) I did that just after #include "Mpch.h" and got a step further: c++ -o mail/MailFolderCC.o -c -I/home/markl/M/build/include -I/home/markl/M/include -I/usr/local/include/python2.3 -DNO_IDEA -DNO_DSA -DOPENSSL_NO_KRB5 -DDEBUG -DDEBUG_markl -I/usr/local/lib/wx/include/gtkd-2.5 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/home/markl/M/extra/include -I/home/markl/M/build/extra/src/c-client -I/home/markl/M/extra/src/compface -I/home/markl/M/src/wx/vcard -fno-exceptions -fno-rtti -fno-operator-names -g3 -O0 -MMD -Wall .src/mail/MailFolderCC.cpp .src/mail/MailFolderCC.cpp: In member function `bool MailFolderCC::Open(MailFolder::OpenMode)': .src/mail/MailFolderCC.cpp:2387: `MCB_FOLDEROPEN' undeclared (first use this function) .src/mail/MailFolderCC.cpp:2387: (Each undeclared identifier is reported only once for each function it appears in.) .src/mail/MailFolderCC.cpp:2387: `PythonCallback' undeclared (first use this function) .src/mail/MailFolderCC.cpp: In member function `virtual void MailFolderCC::ExpungeMessages()': .src/mail/MailFolderCC.cpp:3223: `MCB_FOLDEREXPUNGE' undeclared (first use this function) .src/mail/MailFolderCC.cpp: In member function `virtual bool MailFolderCC::SetSequenceFlag(MailFolder::SequenceKind, const Sequence&, int, bool)': .src/mail/MailFolderCC.cpp:3650: `MCB_FOLDERSETMSGFLAG' undeclared (first use this function) .src/mail/MailFolderCC.cpp:3650: `MCB_FOLDERCLEARMSGFLAG' undeclared (first use this function) make[1]: *** [mail/MailFolderCC.o] Error 1 make[1]: Leaving directory `/home/markl/M/build/src' make: *** [all] Error 2 [EMAIL PROTECTED] build]# So trying to learn from your previous advice, I went to mail/MailFolderCC.o and did After #include "Mpch.h" I added: #include "Mcallbacks.h" // Python fix for MCB_* declares #include "PythonHelp.h" // Python fix for PythonCallback This gave me: c++ -o mail/MailFolderCC.o -c -I/home/markl/M/build/include -I/home/markl/M/include -I/usr/local/include/python2.3 -DNO_IDEA -DNO_DSA -DOPENSSL_NO_KRB5 -DDEBUG -DDEBUG_markl -I/usr/local/lib/wx/include/gtkd-2.5 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/home/markl/M/extra/include -I/home/markl/M/build/extra/src/c-client -I/home/markl/M/extra/src/compface -I/home/markl/M/src/wx/vcard -fno-exceptions -fno-rtti -fno-operator-names -g3 -O0 -MMD -Wall .src/mail/MailFolderCC.cpp In file included from .src/mail/MailFolderCC.cpp:26: /home/markl/M/include/PythonHelp.h:36: syntax error before `*' token /home/markl/M/include/PythonHelp.h:53: type specifier omitted for parameter `PyObject' /home/markl/M/include/PythonHelp.h:53: parse error before `*' token /home/markl/M/include/PythonHelp.h:116: `PyObject' was not declared in this scope /home/markl/M/include/PythonHelp.h:116: `presult' was not declared in this scope /home/markl/M/include/PythonHelp.h:116: parse error before `char' make[1]: *** [mail/MailFolderCC.o] Error 1 make[1]: Leaving directory `/home/markl/M/build/src' make: *** [all] Error 2 [EMAIL PROTECTED] build]# Now I'm temporarily stumped again. Help :-) TIA Dr. QA ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers