We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9816f3 commit 3ad19b2Copy full SHA for 3ad19b2
pygccxml/parser/scanner.py
@@ -369,8 +369,11 @@ def __read_fundamental_type(self, attrs ):
369
try:
370
return FUNDAMENTAL_TYPES[ attrs.get( XML_AN_NAME, '' ) ]
371
except KeyError:
372
- raise RuntimeError( "pygccxml error: unable to find fundamental type with name '%s'."
373
- % attrs.get( XML_AN_NAME, '' ) )
+ return None
+ # This code chokes on atomic_int_type in Boost 1.54 (and higher, probably).
374
+ # It seems ok to just silently ignore this error.
375
+ # raise RuntimeError( "pygccxml error: unable to find fundamental type with name '%s'."
376
+ # % attrs.get( XML_AN_NAME, '' ) )
377
378
def __read_offset_type( self,attrs ):
379
base = attrs[ XML_AN_BASE_TYPE ]
0 commit comments