graydon/rust — Issue #1403: warn when int or uint is used in a native type decl
Author: nikomatsakis
Created: 2011-12-31 14:20:49+00:00
State: open
Labels: easy, rfc

Perhaps we should issue a warning---or even an error?---when `int` or `uint` is used in a native type declaration? It is a very common mistake to assume they are the same as the C types `int` and `unsigned`. We could suggest the use of `ctypes::c_int` or `ctypes::long` etc.