Revision: 1745
http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1745&view=rev
Author: roman_yakovenko
Date: 2009-08-08 06:08:18 +0000 (Sat, 08 Aug 2009)
Log Message:
-----------
remove warning
Modified Paths:
--------------
pygccxml_dev/pygccxml/parser/scanner.py
Modified: pygccxml_dev/pygccxml/parser/scanner.py
===================================================================
--- pygccxml_dev/pygccxml/parser/scanner.py 2009-08-08 06:07:29 UTC (rev 1744)
+++ pygccxml_dev/pygccxml/parser/scanner.py 2009-08-08 06:08:18 UTC (rev 1745)
@@ -339,8 +339,10 @@
size = self.__guess_int_value( attrs.get(XML_AN_MAX, '' ) )
if size is None:
size = array_t.SIZE_UNKNOWN
- msg = 'unable to find out array size from expression "%s"' % attrs[ XML_AN_MAX ]
- warnings.warn( msg )
+ #The following warning is pretty useless, as it cant say what the
+ #problematic declaration is.
+ #msg = 'unable to find out array size from expression "%s"' % attrs[ XML_AN_MAX ]
+ #warnings.warn( msg )
return array_t( type_, size + 1 )
def __read_cv_qualified_type( self, attrs ):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|