unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* gcc's catching more "errors" now...
@ 2003-05-09 16:05 Rob Browning
  2003-05-09 16:20 ` Bruce Korb
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Browning @ 2003-05-09 16:05 UTC (permalink / raw)



I tried configuring with CC=gcc-3.3, and we get:

gcc-3.3 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../libguile-ltdl -g -O2 -Werror -Wall -Wmissing-prototypes -MT eval.lo -MD -MP -MF .deps/eval.Tpo -c eval.c  -fPIC -DPIC -o .libs/eval.lo
eval.c: In function `scm_ceval':
eval.c:1966: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from eval.c:4591:
eval.c: In function `scm_deval':
eval.c:1966: warning: dereferencing type-punned pointer will break strict-aliasing rules

which is complaining about this:

  if (scm_stack_checking_enabled_p
      && SCM_STACK_OVERFLOW_P ((SCM_STACKITEM *) &proc))
    {

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gcc's catching more "errors" now...
  2003-05-09 16:05 gcc's catching more "errors" now Rob Browning
@ 2003-05-09 16:20 ` Bruce Korb
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Korb @ 2003-05-09 16:20 UTC (permalink / raw)
  Cc: guile-devel

Rob Browning wrote:
> 
> I tried configuring with CC=gcc-3.3, and we get:
> 
> gcc-3.3 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../libguile-ltdl -g -O2 -Werror -Wall -Wmissing-prototypes -MT eval.lo -MD -MP -MF .deps/eval.Tpo -c eval.c  -fPIC -DPIC -o .libs/eval.lo
> eval.c: In function `scm_ceval':
> eval.c:1966: warning: dereferencing type-punned pointer will break strict-aliasing rules
> In file included from eval.c:4591:
> eval.c: In function `scm_deval':
> eval.c:1966: warning: dereferencing type-punned pointer will break strict-aliasing rules
> 
> which is complaining about this:
> 
>   if (scm_stack_checking_enabled_p
>       && SCM_STACK_OVERFLOW_P ((SCM_STACKITEM *) &proc))
>     {

    void* p_proc = &proc;
>   if (scm_stack_checking_enabled_p
>       && SCM_STACK_OVERFLOW_P ((SCM_STACKITEM *) p_proc))

"void*" may alias anything.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-09 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-09 16:05 gcc's catching more "errors" now Rob Browning
2003-05-09 16:20 ` Bruce Korb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).