Thread: [pygccxml-development] pyplusplus crash (gccxml problem)
Brought to you by:
mbaas,
roman_yakovenko
From: Neal B. <ndb...@gm...> - 2008-12-18 19:05:00
Attachments:
run_time_fixed_pt.hpp
generate_fixed.py
|
gccxml cvs from today pygccxml, pyplusplus svn from today boost is 1.37.0 + constrained_values package This code compiles with gcc-4.3.2. gccxml_runtime_error_t: Error occured while running GCC-XML: In file included from /usr/local/src/boost.hg/boost/type_traits/composite_traits.hpp:17, from /usr/local/src/boost.hg/boost/function/function_base.hpp:24, from /usr/local/src/boost.hg/boost/function/detail/prologue.hpp:17, from /usr/local/src/boost.hg/boost/function.hpp:24, from /usr/local/src/boost.hg/boost/constrained_value/constrained.hpp:29, from /usr/local/src/boost.hg/boost/constrained_value.hpp:30, from run_time_fixed_pt.hpp:4: /usr/local/src/boost.hg/boost/type_traits/is_enum.hpp:181: error: a function call cannot appear in a constant-expression /usr/local/src/boost.hg/boost/type_traits/is_enum.hpp:181: error: template argument 2 is invalid In file included from /usr/local/src/boost.hg/boost/type_traits/composite_traits.hpp:22, from /usr/local/src/boost.hg/boost/function/function_base.hpp:24, from /usr/local/src/boost.hg/boost/function/detail/prologue.hpp:17, from /usr/local/src/boost.hg/boost/function.hpp:24, from /usr/local/src/boost.hg/boost/constrained_value/constrained.hpp:29, from /usr/local/src/boost.hg/boost/constrained_value.hpp:30, from run_time_fixed_pt.hpp:4: /usr/local/src/boost.hg/boost/type_traits/is_union.hpp:38: error: expected primary-expression before ')' token /usr/local/src/boost.hg/boost/type_traits/is_union.hpp:38: error: a function call cannot appear in a constant-expression In file included from /usr/local/src/boost.hg/boost/type_traits/is_convertible.hpp:25, from /usr/local/src/boost.hg/boost/type_traits/is_empty.hpp:12, from /usr/local/src/boost.hg/boost/detail/compressed_pair.hpp:26, from /usr/local/src/boost.hg/boost/compressed_pair.hpp:21, from /usr/local/src/boost.hg/boost/constrained_value/constrained.hpp:30, from /usr/local/src/boost.hg/boost/constrained_value.hpp:30, from run_time_fixed_pt.hpp:4: /usr/local/src/boost.hg/boost/type_traits/is_abstract.hpp:72: error: expected primary-expression before ')' token /usr/local/src/boost.hg/boost/type_traits/is_abstract.hpp:72: error: a function call cannot appear in a constant-expression In file included from /usr/local/src/boost.hg/boost/type_traits/is_empty.hpp:19, from /usr/local/src/boost.hg/boost/detail/compressed_pair.hpp:26, from /usr/local/src/boost.hg/boost/compressed_pair.hpp:21, from /usr/local/src/boost.hg/boost/constrained_value/constrained.hpp:30, from /usr/local/src/boost.hg/boost/constrained_value.hpp:30, from run_time_fixed_pt.hpp:4: /usr/local/src/boost.hg/boost/type_traits/is_class.hpp:122: error: expected primary-expression before ')' token /usr/local/src/boost.hg/boost/type_traits/is_class.hpp:122: error: a function call cannot appear in a constant-expression In file included from /usr/local/src/boost.hg/boost/serialization/level.hpp:26, from /usr/local/src/boost.hg/boost/serialization/nvp.hpp:31, from run_time_fixed_pt.hpp:8: /usr/local/src/boost.hg/boost/type_traits/is_base_and_derived.hpp:225: error: expected primary-expression before ',' token /usr/local/src/boost.hg/boost/type_traits/is_base_and_derived.hpp:225: error: expected primary-expression before ')' token /usr/local/src/boost.hg/boost/type_traits/is_base_and_derived.hpp:225: error: a function call cannot appear in a constant-expression In file included from /usr/local/src/boost.hg/boost/serialization/base_object.hpp:34, from /usr/local/src/boost.hg/boost/serialization/nvp.hpp:34, from run_time_fixed_pt.hpp:8: /usr/local/src/boost.hg/boost/type_traits/is_polymorphic.hpp:106: error: a function call cannot appear in a constant-expression /usr/local/src/boost.hg/boost/type_traits/is_polymorphic.hpp:106: error: template argument 2 is invalid |
From: Roman Y. <rom...@gm...> - 2008-12-18 19:46:32
|
There gccxml, which is based on gcc 4.2, could not compile your code - you have to change it. P.S. Please next time explain your problem, If you don't have time to do this - I will not have time to take a look on it. On Thu, Dec 18, 2008 at 9:04 PM, Neal Becker <ndb...@gm...> wrote: > gccxml cvs from today > pygccxml, pyplusplus svn from today > > boost is 1.37.0 + constrained_values package > This code compiles with gcc-4.3.2. > > gccxml_runtime_error_t: Error occured while running GCC-XML: In file included > from /usr/local/src/boost.hg/boost/type_traits/composite_traits.hpp:17, > from > /usr/local/src/boost.hg/boost/function/function_base.hpp:24, > from > /usr/local/src/boost.hg/boost/function/detail/prologue.hpp:17, > from /usr/local/src/boost.hg/boost/function.hpp:24, > from > /usr/local/src/boost.hg/boost/constrained_value/constrained.hpp:29, > from /usr/local/src/boost.hg/boost/constrained_value.hpp:30, > from run_time_fixed_pt.hpp:4: > /usr/local/src/boost.hg/boost/type_traits/is_enum.hpp:181: error: a function > call cannot appear in a constant-expression > /usr/local/src/boost.hg/boost/type_traits/is_enum.hpp:181: error: template > argument 2 is invalid > In file included from > /usr/local/src/boost.hg/boost/type_traits/composite_traits.hpp:22, > from > /usr/local/src/boost.hg/boost/function/function_base.hpp:24, > from > /usr/local/src/boost.hg/boost/function/detail/prologue.hpp:17, > from /usr/local/src/boost.hg/boost/function.hpp:24, > from > /usr/local/src/boost.hg/boost/constrained_value/constrained.hpp:29, > from /usr/local/src/boost.hg/boost/constrained_value.hpp:30, > from run_time_fixed_pt.hpp:4: > /usr/local/src/boost.hg/boost/type_traits/is_union.hpp:38: error: expected > primary-expression before ')' token > /usr/local/src/boost.hg/boost/type_traits/is_union.hpp:38: error: a function > call cannot appear in a constant-expression > In file included from > /usr/local/src/boost.hg/boost/type_traits/is_convertible.hpp:25, > from > /usr/local/src/boost.hg/boost/type_traits/is_empty.hpp:12, > from > /usr/local/src/boost.hg/boost/detail/compressed_pair.hpp:26, > from /usr/local/src/boost.hg/boost/compressed_pair.hpp:21, > from > /usr/local/src/boost.hg/boost/constrained_value/constrained.hpp:30, > from /usr/local/src/boost.hg/boost/constrained_value.hpp:30, > from run_time_fixed_pt.hpp:4: > /usr/local/src/boost.hg/boost/type_traits/is_abstract.hpp:72: error: expected > primary-expression before ')' token > /usr/local/src/boost.hg/boost/type_traits/is_abstract.hpp:72: error: a > function call cannot appear in a constant-expression > In file included from > /usr/local/src/boost.hg/boost/type_traits/is_empty.hpp:19, > from > /usr/local/src/boost.hg/boost/detail/compressed_pair.hpp:26, > from /usr/local/src/boost.hg/boost/compressed_pair.hpp:21, > from > /usr/local/src/boost.hg/boost/constrained_value/constrained.hpp:30, > from /usr/local/src/boost.hg/boost/constrained_value.hpp:30, > from run_time_fixed_pt.hpp:4: > /usr/local/src/boost.hg/boost/type_traits/is_class.hpp:122: error: expected > primary-expression before ')' token > /usr/local/src/boost.hg/boost/type_traits/is_class.hpp:122: error: a function > call cannot appear in a constant-expression > In file included from /usr/local/src/boost.hg/boost/serialization/level.hpp:26, > from /usr/local/src/boost.hg/boost/serialization/nvp.hpp:31, > from run_time_fixed_pt.hpp:8: > /usr/local/src/boost.hg/boost/type_traits/is_base_and_derived.hpp:225: error: > expected primary-expression before ',' token > /usr/local/src/boost.hg/boost/type_traits/is_base_and_derived.hpp:225: error: > expected primary-expression before ')' token > /usr/local/src/boost.hg/boost/type_traits/is_base_and_derived.hpp:225: error: > a function call cannot appear in a constant-expression > In file included from > /usr/local/src/boost.hg/boost/serialization/base_object.hpp:34, > from /usr/local/src/boost.hg/boost/serialization/nvp.hpp:34, > from run_time_fixed_pt.hpp:8: > /usr/local/src/boost.hg/boost/type_traits/is_polymorphic.hpp:106: error: a > function call cannot appear in a constant-expression > /usr/local/src/boost.hg/boost/type_traits/is_polymorphic.hpp:106: error: > template argument 2 is invalid > > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > pygccxml-development mailing list > pyg...@li... > https://lists.sourceforge.net/lists/listinfo/pygccxml-development > > -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |