Skip to contentSkip to conversation

strange gcc warning

DISCUSSION Govind Raghuram 1 participant 1 message Jan 14, 2003

lore
Share & tools
lore
#0 lore raw

Your definition will remain local as long as you dont include errno.h

Placed At :

Shanks <[email protected]> on 01/13/2003 11:37:50 PM

To: Elias Athanasopoulos <[email protected]>
cc: [email protected] (bcc: Govind Raghuram/Satyam)

Subject: Re: strange gcc warning

Quoted 5 lines · --- Elias Athanasopoulos
Quoted 1 line · Shanks

my_print(int errno)

errno is defined in errno.h. You shouldn't use a new variable with this name.

Yes i am aware of errno being defined in errno.h
But isn't my definition local to my func.
Any technical reason why i am getting such a gdb output(pasted in prev mail)

Quoted 1 line

Elias

-Shanks

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html