Opened 8 years ago
Last modified 8 years ago
#11203 moreinfo Bug report
'toString' was not declared in this scope while compiling filezilla
Reported by: | selvakumar | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Client |
Keywords: | Cc: | ||
Component version: | Operating system type: | ||
Operating system version: |
Description
./'`buildinfo.cpp
In file included from buildinfo.cpp:4:0:
/home/selva/support/filezilla/fact/factory-20170307/build_armv7llinux-gnueabi/toolchain/include/libfilezilla/format.hpp:119:43: error: 'toString' was not declared in this scope
auto arg_to_string(Arg&& arg) -> decltype(toString<String>(std::forward<Arg>(arg)))
/home/selva/support/filezilla/fact/factory-20170307/build_armv7llinux-gnueabi/toolchain/include/libfilezilla/format.hpp:119:43: error: 'toString' was not declared in this scope
/home/selva/support/filezilla/fact/factory-20170307/build_armv7-linux-gnueabi/toolchain/include/libfilezilla/format.hpp:119:58: error: expected primary-expression before '>' token
auto arg_to_string(Arg&& arg) -> decltype(toString<String>(std::forward<Arg>(arg)))
/home/selva/support/filezilla/fact/factory-20170307/build_armv7l-linux-gnueabi/toolchain/include/libfilezilla/format.hpp: In function 'decltype ((<expression error> > forward<Arg>(arg))) fz::detail::arg_to_string(Arg&&)':
/home/selva/support/filezilla/fact/factory-20170307/build_armv7l-linux-gnueabi/toolchain/include/libfilezilla/format.hpp:121:9: error: 'toString' was not declared in this scope
return toString<String>(std::forward<Arg>(arg));
/home/selva/support/filezilla/fact/factory-20170307/build_armv7llinux-gnueabi/toolchain/include/libfilezilla/format.hpp:121:24: error: expected primary-expression before '>' token
return toString<String>(std::forward<Arg>(arg));
/home/selva/support/filezilla/fact/factory-20170307/build_armv7l-linux-gnueabi/toolchain/include/libfilezilla/format.hpp: In function 'std::enable_if_t<(std::is_integral<typename std::decay<Arg>::type>::value && (! std::is_enum<typename std::decay<Arg>::type>::value)), String> fz::detail::integral_to_hex_string(Arg&&)':
/home/selva/support/filezilla/fact/factory-20170307/build_armv7llinux-gnueabi/toolchain/include/libfilezilla/format.hpp:144:12: error: 'int_to_hex_char' is not a member of 'fz'
*(--p) = fz::int_to_hex_char<typename String::value_type, Lowercase>(v & 0xf);
/home/selva/support/filezilla/fact/factory-20170307/build_armv7l-linux-gnueabi/toolchain/include/libfilezilla/format.hpp:144:59: error: expected '(' before ',' token
*(--p) = fz::int_to_hex_char<typename String::value_type, Lowercase>(v & 0xf);
buildinfo.cpp: In static member function 'static std::wstring CBuildInfo::GetBuildDateString()':
buildinfo.cpp:44:3: error: 'replace_substrings' is not a member of 'fz'
fz::replace_substrings(date, L" ", L" ");
buildinfo.cpp:74:13: error: 'to_integral' is not a member of 'fz'
auto day = fz::to_integral<unsigned int>(tmp.substr(0, pos));
buildinfo.cpp:74:29: error: expected primary-expression before 'unsigned'
auto day = fz::to_integral<unsigned int>(tmp.substr(0, pos));
buildinfo.cpp:79:14: error: 'to_integral' is not a member of 'fz'
auto year = fz::to_integral<unsigned int>(tmp.substr(pos + 1));
buildinfo.cpp:79:30: error: expected primary-expression before 'unsigned'
auto year = fz::to_integral<unsigned int>(tmp.substr(pos + 1));
earprivatedata.o test -f 'clearprivatedata.cpp' || echo './'
clearprivatedata.cpp
Makefile:1160: recipe for target 'filezilla-buildinfo.o' failed
make[5]: * [filezilla-buildinfo.o] Error 1
make[5]: * Waiting for unfinished jobs....
mv -f .deps/filezilla-aui_notebook_ex.Tpo .deps/filezilla-aui_notebook_ex.Po
mv -f .deps/filezilla-chmoddialog.Tpo .deps/filezilla-chmoddialog.Po
mv -f .deps/filezilla-bookmarks_dialog.Tpo .deps/filezilla-bookmarks_dialog.Po
mv -f .deps/filezilla-asyncrequestqueue.Tpo .deps/filezilla-asyncrequestqueue.Po
mv -f .deps/filezilla-clearprivatedata.Tpo .deps/filezilla-clearprivatedata.Po
Change History (4)
comment:1 by , 8 years ago
Priority: | critical → normal |
---|
comment:2 by , 8 years ago
Status: | new → moreinfo |
---|
comment:4 by , 8 years ago
Status: | new → moreinfo |
---|
This makes no sense, all the necessary headers are included by the files in question.
What's the full command-line of the failing command?
Do you still experiencing this after a 'make clean'?
Which version of FileZilla are you trying to compile?
What is your version of libfilezilla?
Which compiler (product and version) are you using?