Boost with gcc 3.4.3?
Hello, I am porting code which compiles with gcc 3.2.3 and uses boost, to compile for gcc 3.4.3. I get the following compilation errors. Also there are a lot of erros regarding scope, which can be fixed. Can anybody suggest what I should be looking at to resolve this. Regards Karthick /inc/boost/integer_fwd.hpp:70: error: `long_long_type' is not a member of `boost' /inc/boost/integer_fwd.hpp:70: error: `long_long_type' is not a member of `boost' /inc/boost/integer_fwd.hpp:70: error: template argument 1 is invalid /inc/boost/integer_fwd.hpp:73: error: `ulong_long_type' is not a member of `boost' /inc/boost/integer_fwd.hpp:73: error: `ulong_long_type' is not a member of `boost' /inc/boost/integer_fwd.hpp:73: error: template argument 1 is invalid /inc/boost/integer.hpp:20, inc/word_includes.hpp:34, /inc/word.hpp:34, /inc/boost/integer_traits.hpp:162: error: `long_long_type' is not a member of `boost' /boost/integer_traits.hpp:162: error: `long_long_type' is not a member of `boost' /inc/boost/integer_traits.hpp:163: error: template argument 1 is invalid /boost/integer_traits.hpp:163: error: explicit specialization of non-template `<type error>' /inc/boost/integer_traits.hpp:163: error: `long_long_type' is not a member of `boost' /inc/boost/integer_traits.hpp:163: error: `long_long_type' is not a member of `boost' /inc/boost/integer_traits.hpp:163: error: template argument 1 is invalid /inc/boost/integer_traits.hpp:164: error: `long_long_type' is not a member of `boost' /inc/boost/integer_traits.hpp:164: error: `long_long_type' is not a member of `boost' /inc/boost/integer_traits.hpp:165: error: template argument 1 is invalid /inc/boost/integer_traits.hpp:165: error: `<type error>' is not a valid type for a template constant parameter /inc/boost/integer_traits.hpp:165: error: `<type error>' is not a valid type for a template constant parameter /inc/boost/integer_traits.hpp:168: error: `ulong_long_type' is not a member of `boost' //inc/boost/integer_traits.hpp:168: error: `ulong_long_type' is not a member of `boost' /inc/boost/integer_traits.hpp:169: error: template argument 1 is invalid /inc/boost/integer_traits.hpp:169: error: explicit specialization of non-template `<type error>'
AMDG Karthick Gururaj wrote:
I am porting code which compiles with gcc 3.2.3 and uses boost, to compile for gcc 3.4.3. http://3.4.3./ I get the following compilation errors. Also there are a lot of erros regarding scope, which can be fixed. Can anybody suggest what I should be looking at to resolve this.
<snip>
/inc/boost/integer_fwd.hpp:70: error: `long_long_type' is not a member of `boost'
You should not be getting an error like this.
I presume that you can compile hello world
(the std::cout version)?
Does this program give a similar error?
#include
On 7/28/08, Steven Watanabe
AMDG
Karthick Gururaj wrote:
I am porting code which compiles with gcc 3.2.3 and uses boost, to compile for gcc 3.4.3. http://3.4.3./ I get the following compilation errors. Also there are a lot of erros regarding scope, which can be fixed. Can anybody suggest what I should be looking at to resolve this. <snip> /inc/boost/integer_fwd.hpp:70: error: `long_long_type' is not a member of `boost'
You should not be getting an error like this. I presume that you can compile hello world (the std::cout version)?
Does this program give a similar error?
#include
int main() { #ifdef BOOST_HAS_LONG_LONG boost::long_long_type x; #endif }
Hello Steven,
The sample code snippet you mentioned above compiles without error. I did some chanegs with the header file inclusion in my code and it seems to work now. However I am not really sure if the was problem with the order of inclusion of header files. I will check this. Thanks for your input. Regards Karthick _______________________________________________
Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Karthick Gururaj
-
Steven Watanabe