Brian Candler writes:

> courier-imap-1.5.3 used to compile fine on this platform, but trying the
> 20020928 snapshot gives me the following error:
> 
> c++ -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/home/brian/work/openldap-2.0.27/include 
>-I/usr/local/ssl/include  -g -O2 -Wall -c maildirsearchC.cpp
> In file included from maildirsearchC.cpp:7:
> maildirsearch.h:93: 'string' is used as a type, but is not defined as a type.
> maildirsearch.h:95: 'vector' is used as a type, but is not defined as a type.
> maildirsearch.h:100: `string' was not declared in this scope
> maildirsearch.h:100: parse error before `)' token
> maildirsearch.h: In member function `int MaildirSearch::setString(...)':
> maildirsearch.h:102: `String' undeclared (first use this function)
> maildirsearch.h:102: (Each undeclared identifier is reported only once for each 
>    function it appears in.)
> maildirsearch.h:102: `s' undeclared (first use this function)
> make[1]: *** [maildirsearchC.o] Error 1
> 
> $ c++ --version
> c++ (GCC) 3.2
> Copyright (C) 2002 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> It seems that this .cpp file is new in this snapshot, and is the only one in
> the whole package.

Right.   Replace all instances of "string" with "std::string", and
"vector" with "std::vector" in maildirsearch.h.  Case is sensitive, do not 
touch String.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to