[ros-dev] ROS Build Failure with Explorer

Michael B. Trausch fd0man at fd0man.homelinux.com
Sat Nov 6 01:18:32 CET 2004


Okay, I'm just trying to build the system to see what's going on with it, 
and thinking about doing some application related work, maybe, at some 
point, but in any case, I can't get ReactOS to build.  The build dies when 
it reaches explorer.cpp, and you can see in the attached error log 
(explorer-build.log-2).  The version of gcc used was:

fd0man at fd0man:~> i386-mingw32msvc-gcc --version
i386-mingw32msvc-gcc (GCC) 3.4.1 (mingw special)
Copyright (C) 2004 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.

The compiler is a Linux-to-Win32 cross compiler.  The CVS tree is fully 
up-to-date as of right this minute, as I just ran the update before I sent 
this off and didn't see any changes occur.

I don't have the ability to poke around with it at the moment, nor do I 
have the slightest clue of what's causing it... it seems that it's saying 
something about an overloaded function - when it's a completely different 
function that's called on the line it's complaining about, anyway, just 
doesn't seem to make sense to me.  *shrugs*

	Later,
	Michael
-------------- next part --------------
explorer.cpp: In function `int wWinMain(HINSTANCE__*, HINSTANCE__*, TCHAR*, int)':
explorer.cpp:714: error: call of overloaded `wcsstr(TCHAR*&, const wchar_t[9])' is ambiguous
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../i386-mingw32msvc/include/string.h:103: note: candidates are: wchar_t* wcsstr(const wchar_t*, const wchar_t*)
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../include/c++/3.4.1/cwchar:227: note:                 wchar_t* std::wcsstr(wchar_t*, wchar_t*)
explorer.cpp:766: error: call of overloaded `wcsstr(TCHAR*&, const wchar_t[9])' is ambiguous
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../i386-mingw32msvc/include/string.h:103: note: candidates are: wchar_t* wcsstr(const wchar_t*, const wchar_t*)
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../include/c++/3.4.1/cwchar:227: note:                 wchar_t* std::wcsstr(wchar_t*, wchar_t*)
explorer.cpp:768: error: call of overloaded `wcsstr(TCHAR*&, const wchar_t[11])' is ambiguous
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../i386-mingw32msvc/include/string.h:103: note: candidates are: wchar_t* wcsstr(const wchar_t*, const wchar_t*)
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../include/c++/3.4.1/cwchar:227: note:                 wchar_t* std::wcsstr(wchar_t*, wchar_t*)
explorer.cpp:772: error: call of overloaded `wcsstr(TCHAR*&, const wchar_t[10])' is ambiguous
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../i386-mingw32msvc/include/string.h:103: note: candidates are: wchar_t* wcsstr(const wchar_t*, const wchar_t*)
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../include/c++/3.4.1/cwchar:227: note:                 wchar_t* std::wcsstr(wchar_t*, wchar_t*)
explorer.cpp:775: error: call of overloaded `wcsstr(TCHAR*&, const wchar_t[13])' is ambiguous
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../i386-mingw32msvc/include/string.h:103: note: candidates are: wchar_t* wcsstr(const wchar_t*, const wchar_t*)
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../include/c++/3.4.1/cwchar:227: note:                 wchar_t* std::wcsstr(wchar_t*, wchar_t*)
explorer.cpp:777: error: call of overloaded `wcsstr(TCHAR*&, const wchar_t[11])' is ambiguous
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../i386-mingw32msvc/include/string.h:103: note: candidates are: wchar_t* wcsstr(const wchar_t*, const wchar_t*)
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../include/c++/3.4.1/cwchar:227: note:                 wchar_t* std::wcsstr(wchar_t*, wchar_t*)
explorer.cpp:781: error: call of overloaded `wcsstr(TCHAR*&, const wchar_t[9])' is ambiguous
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../i386-mingw32msvc/include/string.h:103: note: candidates are: wchar_t* wcsstr(const wchar_t*, const wchar_t*)
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../include/c++/3.4.1/cwchar:227: note:                 wchar_t* std::wcsstr(wchar_t*, wchar_t*)
explorer.cpp:797: error: call of overloaded `wcsstr(TCHAR*&, const wchar_t[7])' is ambiguous
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../i386-mingw32msvc/include/string.h:103: note: candidates are: wchar_t* wcsstr(const wchar_t*, const wchar_t*)
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../include/c++/3.4.1/cwchar:227: note:                 wchar_t* std::wcsstr(wchar_t*, wchar_t*)
explorer.cpp:800: error: call of overloaded `wcsstr(TCHAR*&, const wchar_t[7])' is ambiguous
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../i386-mingw32msvc/include/string.h:103: note: candidates are: wchar_t* wcsstr(const wchar_t*, const wchar_t*)
/usr/bin/../lib/gcc/i386-mingw32msvc/3.4.1/../../../../include/c++/3.4.1/cwchar:227: note:                 wchar_t* std::wcsstr(wchar_t*, wchar_t*)
make: *** [explorer.o] Error 1


More information about the Ros-dev mailing list