Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test 'test_smart_pointer.py' fails with GCC-15.0.0 #205

Open
dl1jbe opened this issue Oct 26, 2024 · 0 comments
Open

Test 'test_smart_pointer.py' fails with GCC-15.0.0 #205

dl1jbe opened this issue Oct 26, 2024 · 0 comments

Comments

@dl1jbe
Copy link

dl1jbe commented Oct 26, 2024

Running tests for pygccxml-2.5.0 test_smart_pointer_value_type fails with the following output:

________________________________ Test.test_smart_pointer_value_type _________________________________

self = <unittests.test_smart_pointer.Test testMethod=test_smart_pointer_value_type>

    def test_smart_pointer_value_type(self):
        """
        Test smart_pointer_traits.value_type method.
    
        """
    
        if self.config.xml_generator == "gccxml":
            return
    
        criteria = declarations.declaration_matcher(name="yes1")
        decls = declarations.matcher.find(criteria, self.global_ns)
        vt = declarations.smart_pointer_traits.value_type(decls[0].decl_type)

       self.assertIsInstance(vt, declarations.int_t)
E       AssertionError: <pygccxml.declarations.cpptypes.unknown_t object at 0x7f3cfcb86d50> is not an instance of <class 'pygccxml.declarations.cpptypes.int_t'>

See also https://bugs.gentoo.org/940578

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant