Fails to compile on macppc (kern.version=OpenBSD 4.8-current (GENERIC)
#124: Wed Sep  8 16:08:20 MDT 2010
[email protected]:/usr/src/sys/arch/macppc/compile/GENERIC); ports
tree updated 9/25. Truncated output below.

Frank

-----

depbase=`echo pathfind/astarsearch.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; 
if c++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include
-I/usr/local/include -I/usr/include -I/usr/local/include
-I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include
-I/usr/local/include/pango-1.0 -I/usr/local/include/cairo
-I/usr/X11R6/include/pixman-1 -I/usr/local/include
-I/usr/local/include/libpng -I/usr/X11R6/include -pthread
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -DHAVE_REVISION
-I../intl -I../intl -I/usr/local/include -I/usr/local/include/SDL
-D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS 
-DWESNOTH_PATH=\"/usr/local/share/wesnoth\"  -DLOCALEDIR=\"translations\"
-DHAS_RELATIVE_LOCALEDIR=1 -DFIFODIR=\"/var/run\" 
-DWESNOTH_PREFIX=\"/usr/local\" -Werror -Wno-unused-parameter
-Wno-strict-aliasing -O2 -W -Wall -ansi -O2 -pipe -DDISABLE_POOL_ALLOC
-DOLD_FRIBIDI -I/usr/local/include/fribidi   -D_X11  -I/usr/X11R6/include  
 -I/usr/local/include -MT pathfind/astarsearch.o -MD -MP -MF
"$depbase.Tpo" -c -o pathfind/astarsearch.o pathfind/astarsearch.cpp;  then
mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
cc1plus: warnings being treated as errors
/usr/include/g++/bits/stl_algo.h: In function '_RandomAccessIterator
std::__find(_RandomAccessIterator, _RandomAccessIterator, const _Tp&,
std::random_access_iterator_tag) [with _RandomAccessIterator =
__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> >
>, _Tp = long unsigned int]':
/usr/include/g++/bits/stl_algo.h:327:   instantiated from '_InputIterator
std::find(_InputIterator, _InputIterator, const _Tp&) [with _InputIterator
= __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> >
>, _Tp = size_t]'
pathfind/astarsearch.cpp:203:   instantiated from here
/usr/include/g++/bits/stl_algo.h:208: warning: comparison between signed
and unsigned integer expressions
/usr/include/g++/bits/stl_algo.h:327:   instantiated from '_InputIterator
std::find(_InputIterator, _InputIterator, const _Tp&) [with _InputIterator
= __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> >
>, _Tp = size_t]'
pathfind/astarsearch.cpp:203:   instantiated from here
/usr/include/g++/bits/stl_algo.h:212: warning: comparison between signed
and unsigned integer expressions
/usr/include/g++/bits/stl_algo.h:216: warning: comparison between signed
and unsigned integer expressions
/usr/include/g++/bits/stl_algo.h:220: warning: comparison between signed
and unsigned integer expressions
/usr/include/g++/bits/stl_algo.h:228: warning: comparison between signed
and unsigned integer expressions
/usr/include/g++/bits/stl_algo.h:232: warning: comparison between signed
and unsigned integer expressions
/usr/include/g++/bits/stl_algo.h:236: warning: comparison between signed
and unsigned integer expressions
*** Error code 1

Stop in /usr/ports/pobj/wesnoth-1.8.4/wesnoth-1.8.4/src (line 2657 of
Makefile).
*** Error code 1

Stop in /usr/ports/pobj/wesnoth-1.8.4/wesnoth-1.8.4 (line 524 of
Makefile).
*** Error code 1

Stop in /usr/ports/pobj/wesnoth-1.8.4/wesnoth-1.8.4 (line 393 of
Makefile).
*** Error code 1

Stop in /usr/ports/games/wesnoth (line 2350 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/games/wesnoth (line 1587 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/games/wesnoth (line 2143 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/games/wesnoth (line 2123 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/games/wesnoth (line 1618 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/games/wesnoth (line 2123 of
/usr/ports/infrastructure/mk/bsd.port.mk).



Reply via email to