Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Int overflow (ASTNode.offset)

No, the ASTNode.offset (PPP offset) and the startNumber parameter of the node constructors can be overflow, when the project contains lots of files and includes.


2014.09.12. 16:47 keltezéssel, Nathan Ridge írta:
In our project we would like to use CDT to parse large C code bases. It  
works for us perfectly but we found a little problem. In the ASTNode  
and all of the other place the offset is stored in int type, but it can  
overflow when the project is large enough. Can you suggest a workaround  
or should we post it to bugzilla? 
Are you referring to an offset into a single source file? If so, do you mean 
you have a source file that is larger than 2 GB in size?

cdt-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top