Beman Dawes <[EMAIL PROTECTED]> writes: > I've gone ahead and committed the change to CVS, but wonder if this is > really the option Ron wanted?. Intel's docs say: > > >-Qansi_alias directs the compiler to assume the following: > >Arrays are not accessed out of bounds. > > > >Pointers are not cast to non-pointer types, and vice-versa. > > > >References to objects of two different scalar types cannot alias. For > >example, an object of type int cannot alias with an object of type float, > >or an object of type float cannot alias with an object of type double. > > > >If your program satisfies the above conditions, setting the -Qansi_alias > >flag will help the compiler better optimize the program. However, if > your >program does not satisfy one of the above conditions, the > -Qansi_alias flag > >may lead the compiler to generate incorrect code.
Seems to me it can't possibly be what Ron was after; that's all optimization-related stuff, not diagnostic-related as Ron wants. However, Ron was asking about Intel C++ for Linux; I presume you were messing with the windows version? -- Dave Abrahams Boost Consulting www.boost-consulting.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost