I also wanted to know about this, so I checked the source of gcc (4.8.1). In c-typeck.c there is the following code that emits a warning:
WARN_FOR_ASSIGNMENT (location, 0, G_("passing argument %d of %qE makes " "pointer from integer without a cast"), G_("assignment makes pointer from integer " "without a cast"), G_("initialization makes pointer from " "integer without a cast"), G_("return makes pointer from integer " "without a cast"));
See second argument 0 for WAIT_FOR_ASSIGNMENT ? This is usually a flag for one of the diagnostic parameters. In this case, however, it is zero, so I am afraid that this means that the error cannot be specifically caused by the error.
source share