Re: Why "global" variable can't be processed properly?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





> > I used C in multi platforms many years and never
> encountered this unspecified
> 
> It is not unspecified behavior.
> 
> It is specified as undefined behavior.
> 
> > I hope GCC can be consistent with the others. Maybe
> that's a better way.
> 
> I do not think that is a better way.
> 
> I think it is better to not rely on the behavior of a
> particular compiler
> for language undefined behavior.
> 
> It would be nice if the compiler could ALWAYS warn about
> code that has
> undefined behavior.
> 
Right! It is better to not rely on the behavior of a
particular compiler. My source have not consider the
order of evaluation. But however, undefined behavior
is still a behavior. My mean is better to be compatible
with most others.

--horde






      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux