failed building kgeography on 4.10

Lee Harr missive at hotmail.com
Wed Dec 1 14:46:04 PST 2004


Hi;

I know there are some c++ issues with the older compiler found
on the 4.x system.  Is this just a problem for me, or is
kgeography generally not building on 4.10?


In file included from main.cpp:15:
kgeography.h:24: `struct map' redeclared as different kind of symbol
/usr/include/g++/stl_map.h:48: previous declaration of `template <class 
_Key, class _Tp, class _Compare = struct less<_Key>, class _Alloc = class 
allocator<_T2> > class map<_Key,_Tp,_Compare,_Alloc>'
kgeography.h:47: use of class template `template <class _Key, class _Tp, 
class _Compare = structless<_Key>, class _Alloc = class allocator<_T2> > 
map<_Key,_Tp,_Compare,_Alloc>' as expression
kgeography.h:47: `m' was not declared in this scope
kgeography.h:47: variable or field `setMap' declared void
kgeography.h:62: syntax error before `*'
gmake[3]: *** [main.o] Error 1
gmake[3]: Leaving directory 
`/usr/ports/games/kgeography/work/kgeography-0.2/kgeography/src'

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



More information about the freebsd-ports mailing list