ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
[boost] Problem with ublas/traits.hpp
by Neal D. Becker other posts by this author
Oct 3 2003 7:36PM messages near this date
[boost] Re: Physical Quantities revisited | Re: [boost] Re: [serialization] default-constructors (was Re[serialization]problem deserializing vectors)
This test program:

#include <boost/numeric/ublas/traits.hpp> 

Produces this on gcc
g++ -c -g -Wall  -O3 -march=athlon-xp -mcpu=athlon-xp  -mfpmath=sse -m3dnow  
-I../../uwp/src/float -I../../uwp/src/fixed -I../../uwp/src/boost 
-I../../frontend/src -o Testp.o ../Test/Testp.cc -Wp,-MMD,.d/Testp.d
In file included from ../Test/Testp.cc:1:
../../uwp/src/boost/boost/numeric/ublas/traits.hpp:1363: ISO C++ forbids 
   declaration of `forward_iterator_base' with no type
../../uwp/src/boost/boost/numeric/ublas/traits.hpp:1363: template-id `
   forward_iterator_base<std::forward_iterator_tag, I, T> ' used as a 
declarator
../../uwp/src/boost/boost/numeric/ublas/traits.hpp:1363: parse error before 
`;' 
   token
[.. lots more errors]

This is boost-1.30.2,, gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5).

I want to use traits standalone.  Is it not intended to be used this way, or 
is this a bug?

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved