[LCP]macro execution
Sarath Kumar
sarath_kumar at mentorg.com
Tue Aug 14 14:05:06 UTC 2001
Vincent Penquerc'h wrote:
> > Huh? The only reason I don't void main is to avoid that silly compiler
> > warning, but I don't see what harm voiding main can do. The program
> > will just return an undefined value so it can't be used in script
> > expressions, but that's about all I know of.
>
> Well, it's the purpose of warnings, to tell you about stuff that
> you might have overlooked. It is a helpful warning, not silly.
> As a silly warning, I'd put those 'variable used without beeing
> uninitialized' triggered for code where the variable is initialized
> and it is obvious (as in some cases, the compiler can have a hard
> time proving it).
>
This seems interesting can u suggest one such example?????
If the initialization u mean is the initialization defined by the language
then leave it.
>
> --
> Lyrian
>
> _______________________________________________
> This is the Linux C Programming List
> : http://lists.linux.org.au/listinfo/linuxcprogramming List
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sarath_kumar.vcf
Type: text/x-vcard
Size: 270 bytes
Desc: Card for Sarath Kumar
Url : http://lists.linux.org.au/pipermail/linuxcprogramming/attachments/20010814/1d9e074f/attachment.vcf
More information about the linuxCprogramming
mailing list