[C++-sig] Re: Adding documentation

Nikolay Mladenov nickm at sitius.com
Wed May 12 21:21:20 CEST 2004


I have no reasonable way of debugging that.
Is it the gcc_demangling? It is good for the std::string?
Other than that I don't see how the names are good for some types and
not for others.

"Ralf W. Grosse-Kunstleve" wrote:
> 
> --- Nikolay Mladenov <nickm at sitius.com> wrote:
> > I am working on that and I am hoping to have a patch soon.
> 
> While you are at it, under Linux I am getting "b", "i", "j" instead of "bool",
> "int", "unsigned long" etc. when Boost.Python displays function signatures as
> part of a traceback. See the example below. Is this behavior intended?
> Thanks,
>         Ralf
> 
> Redhat 8.0 with gcc 3.4.0 installed from sources:
> 
> Traceback (most recent call last):
>   File "/net/cci/rwgk/zi", line 2, in ?
>     sgtbx.space_group({})
> Boost.Python.ArgumentError: Python argument types in
>     space_group.__init__(space_group, dict)
> did not match C++ signature:
>     __init__(_object*, cctbx::sgtbx::space_group)
>     __init__(_object*, cctbx::sgtbx::space_group_symbols)
>     __init__(_object*, std::string)
>     __init__(_object*, std::string, b)
>     __init__(_object*, std::string, b, b)
>     __init__(_object*, std::string, b, b, b)
>     __init__(_object*, std::string, b, b, b, i)
>     __init__(_object*, cctbx::sgtbx::parse_string {lvalue})
>     __init__(_object*, cctbx::sgtbx::parse_string {lvalue}, b)
>     __init__(_object*, cctbx::sgtbx::parse_string {lvalue}, b, b)
>     __init__(_object*, cctbx::sgtbx::parse_string {lvalue}, b, b, b)
>     __init__(_object*, cctbx::sgtbx::parse_string {lvalue}, b, b, b, i)
>     __init__(_object*)
> 
> Tru64 Unix with the native compiler (EDG245 based):
> 
> Traceback (most recent call last):
>   File "zi", line 2, in ?
>     sgtbx.space_group({})
> Boost.Python.ArgumentError: Python argument types in
>     space_group.__init__(space_group, dict)
> did not match C++ signature:
>     __init__(_object *, cctbx::sgtbx::space_group)
>     __init__(_object *, cctbx::sgtbx::space_group_symbols)
>     __init__(_object *, std::basic_string<char, std::char_traits<char>,
> std::allocator<char>>)
>     __init__(_object *, std::basic_string<char, std::char_traits<char>,
> std::allocator<char>>, bool)
>     __init__(_object *, std::basic_string<char, std::char_traits<char>,
> std::allocator<char>>, bool, bool)
>     __init__(_object *, std::basic_string<char, std::char_traits<char>,
> std::allocator<char>>, bool, bool, bool)
>     __init__(_object *, std::basic_string<char, std::char_traits<char>,
> std::allocator<char>>, bool, bool, bool, int)
>     __init__(_object *, cctbx::sgtbx::parse_string {lvalue})
>     __init__(_object *, cctbx::sgtbx::parse_string {lvalue}, bool)
>     __init__(_object *, cctbx::sgtbx::parse_string {lvalue}, bool, bool)
>     __init__(_object *, cctbx::sgtbx::parse_string {lvalue}, bool, bool, bool)
>     __init__(_object *, cctbx::sgtbx::parse_string {lvalue}, bool, bool, bool,
> int)
>     __init__(_object *)
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Movies - Buy advance tickets for 'Shrek 2'
> http://movies.yahoo.com/showtimes/movie?mid=1808405861

-- 
Nikolay Mladenov
Sitius Automation Inc.
www.sitius.com





More information about the Cplusplus-sig mailing list