On Tue, 15 May 2007 22:07:47 +0300
David Harel <[EMAIL PROTECTED]> wrote:

> Greetings,
> 
> 
> Using kuroo, sometimes I get a notice such as: QA Notice: Package has 
> poor programming practices which may compile fine but exhibit random 
> runtime failures. Any idea what trigers such as message?
> 
I found an answer at 
http://sources.gentoo.org/viewcvs.py/portage/main/trunk/doc/qa.docbook?rev=5734 
The relevant section, lightly edited (but unaltered), follows:

|| This warning crops up when code starts casting distinct pointer types
|| and then dereferencing them.  Generally, this is a violation of
|| aliasing rules which are part of the C standard.  Historically, these
|| warnings did not show up as the optimization was not turned on by
|| default.  With gcc-4.1.x and newer though, the -O2 optimization level
|| enables strict aliasing support.
||
|| For information, please review these links:
|| NetBSD Explination: 
||  http://mail-index.netbsd.org/tech-kern/2003/08/11/0001.html
|| Gentoo Dev Thread:
||  http://thread.gmane.org/gmane.linux.gentoo.devel/39495
|| GCC Docs: 
||  http://gcc.gnu.org/bugs.html#nonbugs_c

The programs will probably still work fine; I've seen that error
before, but have been using those packages anyway, with no descernable
consequences.   

-- 
[EMAIL PROTECTED] mailing list

Reply via email to