On Fri, 10 Oct 2003 07:17:33 -0400 (EDT) Richard Welty <[EMAIL PROTECTED]> wrote:
> my attempts at linux builds all failed yesterday. with freshly checked
> out
> copies of wxWindows HEAD and mahogany:
noone responded so i took a bit of a look myself, as i need to start
remembering C++. the error, when compiling gui/wxSubfoldersDialog.cpp, was:
> gui/wxSubfoldersDialog.cpp: In member function `virtual void
> wxSubfoldersTree::OnListFolder(const String&, char, long int)':
> gui/wxSubfoldersDialog.cpp:486: `delim' undeclared (first use this
> function)
> gui/wxSubfoldersDialog.cpp:486: (Each undeclared identifier is reported
> only
> once for each function it appears in.)
> my configuration options:
>
> ./configure --with-wxdir=/tools/wxwin/wxWindows/ --with-modules=dynamic
> --enable-debug
so i looked at the code and found this construction:
void
wxSubfoldersTree::OnListFolder(const String& spec,
char WXUNUSED_UNLESS_DEBUG(delim),
long attr)
{
// usually, all folders will have a non NUL delimiter ('.' for news, '/'
// for everything else), but IMAP INBOX is special and can have a NUL one
ASSERT_MSG( delim == m_chDelimiter || !delim,
_T("unexpected delimiter returned by ListFolders") );
i note that WXUNUSED() is refered to many times, but this variant
WXUNUSED_UNLESS_DEBUG() is only used here. i tried rerunning ./configure
w/o --enable-debug, and then did a make clean and recompiled, but no soap.
there must be some reason why this is blowing up, but i'm not yet far
enough along regaining my C++ skills (which started to atrophy back in
1996) to track this down.
anyone have any suggestions?
richard
--
Richard Welty [EMAIL PROTECTED]
Averill Park Networking 518-573-7592
Java, PHP, PostgreSQL, Unix, Linux, IP Network Engineering, Security
-------------------------------------------------------
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-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-users