Programming Languages: C++, Python
browse code,
statistics svn co https://pygccxml.svn.sourceforge.net/svnroot/pygccxml pygccxml
browse code,
statistics http://pygccxml.hg.sourceforge.net:8000/hgroot/pygccxml/pygccxml (read-only)
The ICC compiler reports the following syntax error: .../indexing_suite/workaround.hpp:25: Problem during constant expression evaluation: syntax error None of the other BOOST_WORKAROUND invocations in that header file are enclosed in parentheses. Removing the enclosing parentheses prevents the syntax error report. This bug was encountered in revision 1856.
2012-01-24 16:16:35 PST by jkankiewicz
All base classes in the declaration must be preceded by an access control specifier in order to prevent the ICC compiler from outputting a remark like the following: .../Klass.pypp.cpp(13): remark #304: access control not specified ("public" by default) struct Klass_wrapper : public Klass, bp::wrapper< Klass > { ^.
2012-01-23 18:12:16 PST by jkankiewicz
The absence of an access control specifier on a generated wrapper class causes the ICC compiler to output a remark like the following: .../Klass.pypp.cpp(13): remark #304: access control not specified ("public" by default) struct Klass_wrapper : Klass, bp::wrapper< Klass > { ^ Adding an explicit access control specification like so "struct...
2012-01-19 23:39:48 PST by jkankiewicz
The module_builder.module_builder_t.register_module_dependency(<path>) method call doesn't always suppress the W1040 warning for an exposed class listed in <path>/exposed_decl.pypp.txt. This bug was found in revision 1856.
2012-01-18 11:52:24 PST by jkankiewicz
According to http://www.boost.org/doc/libs/1_48_0/libs/python/doc/tutorial/doc/html/python/exposing.html#python.class_operators_special_functions, the boost::python::class_<...>::def member function will assign a __str__ method to the class that it's exposing when it's called with a single argument of value boost::python::self_ns::str(boost::python::self). Therefore, Py++ could easily...
2012-01-05 12:56:26 PST by jkankiewicz
The absence of an access control specifier on the generated pyplusplus::call_policies::return_range struct causes the ICC compiler to output a remark like the following: .../__return_range.pypp.hpp(55): remark #304: access control not specified ("public" by default) struct return_range : bpl::default_call_policies{ ^ This annoyance was encountered in...
2012-01-04 16:48:18 PST by jkankiewicz
input_c_buffer needs a brother. In C, and even C++, passing in an array as an output argument with a number of elements to copy is quite common. Currently, there is no good way to automate the wrapping of these types of functions.
2012-01-03 12:17:59 PST by davidsj2
Heads up, I added absolute paths in the gen.py script. If I don't, I run into the following bug: https://sourceforge.net/tracker/?func=detail&aid=3463484&group_id=118209&atid=684318 You'll want to update those before attempting to run it.
2011-12-21 11:17:06 PST by davidsj2
Background: http://mail.python.org/pipermail/cplusplus-sig/2011-December/016301.html In certain configurations, Py++ won't create the source files that contain the Boost.Python registrations. The build will complete "successfully" and it's not until you attempt to use the extension that you find out declarations are missing. I'm attaching an example that contains a Py++ script...
2011-12-21 11:08:40 PST by davidsj2
Background: http://mail.python.org/pipermail/cplusplus-sig/2011-December/016299.html c:\Users\davidsj2\Desktop\gccxml_call_policies>python gen.py INFO Parsing source file "c:\Users\davidsj2\Desktop\gccxml_call_policies\headers.hpp" ... INFO gccxml cmd: ""C:\mingw64-i686-20110207\bin\gccxml.exe" -DBOOST_NO_RVALUE_REFERENCES -D__mode__(x)= -DMS_WIN64...
2011-12-21 10:13:55 PST by davidsj2