OFF-TOPIC: C and compiler stuff...

From: Ground Zero Enterprises (zero@baker.cnw.com)
Date: 07/23/96


So far from my code I have two functions that generate the following 
compiler warning: 

warning: function returns address of local variable

I have found this happens anywhere a string that was initialized as 
char blah[] instead of char *blah is returned.  So far I have had 
absolutely no problems with my code but I am wondering if this is 
causing, or could cause, problems I am not aware of.  Or maybe I just 
have a picky compiler?

Thanks,
Chris



This archive was generated by hypermail 2b30 : 12/07/00 PST