Re: (expression) == expression

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

 



Hi,

A Dilluns 06 Febrer 2006 16:26, Patrick Serru va escriure:
>       Hello,
>
>       Using gcc version 4.0.2 20050901 (prerelease) (SUSE Linux). the
> execution of the following code gives two different values to x variable:
> x=(*(gSymbo_SQCST_Ptr)[*iPtr]);
> x=(*gSymbo_SQCST_Ptr)[*iPtr];

I think that you are doing a cast of two different things so you will have 
different values, but maybe I'm wrong. For my experience this kind of errors 
normally are a fault of the programmer, not gcc.

> Could it be the "prerelease" component of that version that could be
> responsale :-))

No...

Regards,

Leo
-- 
Linux User 152692 
Catalonia

Attachment: pgpjzB0gvtvob.pgp
Description: PGP signature


[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