[vdr] Mailbox plugin : compilation error

Jean-Claude Repetto jean-claude.repetto at libertysurf.fr
Fri Apr 1 23:43:45 CEST 2005


Hi,

I have tried to compile the mailbox plugin V0.1.6, and I got the following error message :

g++ -O2 -Wall -Woverloaded-virtual -fno-operator-names -D_GNU_SOURCE -c -DPLUGIN_NAME_I18N='"mailbox"'
-I./AxLibDummy/include -I./AxMail/include -I/usr/include/imap/ -I../../../include -I../../../../DVB/include -o
AxMail/src/Mail.o AxMail/src/Mail.cpp
AxMail/src/Mail.cpp: In member function `std::string Ax::Mail::Mail::getDate()
   const':
AxMail/src/Mail.cpp:226: error: invalid conversion from `unsigned char*' to `
   const char*'
AxMail/src/Mail.cpp:226: error:   initializing argument 1 of `
   std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*,
   const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc
   = std::allocator<char>]'
make: *** [AxMail/src/Mail.o] Error 1


I am using gcc V3.3.5.

Thanks for your help,
Jean-Claude




More information about the vdr mailing list