"Manuel López-Ibáñez" <[EMAIL PROTECTED]> writes:
[...]
| int main()
| {
| int i = NULL; // { dg-warning "" } converting NULL to non-pointer type
In many C implementations, NULL is defined as
#define NULL ((void *) 0)
which renders the above initialization ill-formed -- not just a warnin
Dear all,
Once the implementation of warnings for coercions that may change a
value in the simplest cases is roughly completed [1], I am starting to
consider other possible cases. As an example, the C++ front end given
the Wconversion option currently emits a warning for:
int i = NULL;
Would it