Intel C Compiler

Stefan Krah stefan-usenet at bytereef.org
Mon Nov 8 15:00:43 EST 2010


Drake <cjdrake at gmail.com> wrote:
> I'm an engineer who has access to the Intel C/C++ compiler (icc), and
> for the heck of it I compiled Python2.7 with it.
> 
> Unsurprisingly, it compiled fine and functions correctly as far as I
> know. However, I was interested to discover that the icc compile
> printed literally thousands of various warnings and remarks.
> 
> Examples:
> Parser/node.c(13): remark #2259: non-pointer conversion from "int" to
> "short" may lose significant bits
>       n->n_type = type;


I sometimes use icc. This is one of the most annoying warnings of the
Intel compiler. See:

http://software.intel.com/en-us/forums/showthread.php?t=62308


The problem is that the compiler issues this warning even when there is
no way that significant bits could be lost.

 
Stefan Krah





More information about the Python-list mailing list