Ticket #1495 (closed defect: worksforme)

Opened 3 years ago

Last modified 3 years ago

rtorrent-0.8.3 fails to compile on nslu2

Reported by: curian@curian.hu Owned by: rakshasa
Priority: normal Component: rtorrent
Version: Severity: blocker
Keywords: Cc:

Description

armeb-softfloat-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -march=armv5t -mtune=xscale -O2 -fno-strict-aliasing -DNDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include  -c -o window_file_list.o window_file_list.cc
window_file_list.cc:63: error: expected constructor, destructor, or type conversion before "wstring_width"
window_file_list.cc:63: error: expected `,' or `;' before "wstring_width"
window_file_list.cc: In member function `virtual void display::WindowFileList::redraw()':
window_file_list.cc:174: error: `wstring_width' undeclared (first use this function)
window_file_list.cc:174: error: (Each undeclared identifier is reported only once for each function it appears in.)

the compiler is a gcc-3.4.4 do you need any other information regarding the system?

Change History

Changed 3 years ago by anonymous

Apparently your C++ library does not define std::wstring. If it needs a specific include file to support that, add it and post here. If it simply does not support it... lobby the library devs to support it.

Changed 3 years ago by hlidea.gm@gmail.com

add below code can temporarily solve this problem namespace std { typedef std::basic_string <wchar_t> wstring; };

Changed 3 years ago by anonymous

sorry for the delay. the temporary fix works.

Changed 3 years ago by rakshasa

  • status changed from new to closed
  • resolution set to worksforme
Note: See TracTickets for help on using tickets.