Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Dec 2004 03:15:48 +0430
From:      "Lee Harr" <missive@hotmail.com>
To:        freebsd-ports@freebsd.org
Subject:   failed building kgeography on 4.10
Message-ID:  <BAY2-F607836CE2B10738293F4BB1BF0@phx.gbl>

next in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY2-F607836CE2B10738293F4BB1BF0>