Jonathan Polley writes:
>
> Second, I got an error in src/ATC/tower.hxx.
>
> typedef list < TowerPlaneRec* > tower_plane_rec_list_type;
> typedef list < TowerPlaneRec* >::iterator tower_plane_rec_list_iterator;
> typedef list < TowerPlaneRec* >::const_iterator tower_plane_rec_list_const_iterator;
>
> generates:
>
> c:\fgdev\flightgear\src\atc\tower.hxx(72) : error C2653: 'list<class TowerPlaneRec 
>*,class std::allocator<class TowerPlaneRec *>
>' : is not a class or namespace name
> c:\fgdev\flightgear\src\atc\tower.hxx(72) : error C2146: syntax error : missing ';' 
>before identifier
'tower_plane_rec_list_iterator'
>
> Yes, I know that MSVC has its share of problems with templates, but is there a work 
>around for this?

here is a shot in the dark

typedef list < TowerPlaneRec* > tower_plane_rec_list_type;
typedef tower_plane_rec_list_type::iterator tower_plane_rec_list_iterator;
typedef tower_plane_rec_list_type::const_iterator tower_plane_rec_list_const_iterator;

HTH

Norman


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to