From: alaric AT oasis DOT novia DOT net (Alaric Dailey) Newsgroups: comp.os.msdos.djgpp Subject: strange warning Date: 15 Dec 1996 00:46:43 GMT Organization: Novia Internetworking <> 28.8kbps dialup; 402/390-2NET Lines: 29 Message-ID: <58vhpj$ors@nntp.novia.net> NNTP-Posting-Host: oasis.novia.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I am trying to create a make file for a package of source code written in ansi-C everything seems to compile ok except for one code fragment. see below. this code always produces this warning context.c: In function `go_deep': context.c:34 warning: function returns address of local variable the code it is complaining about is as follows - static char *go_deep(void) /* * Mark an area deep in the stack */ { int i; return((char*) &i); } I am not sure exactly what this code is used for in the package since the user never sees it, but it look s to me like gcc is complianing about the code doing exactly what it is supposed to be doing. Since this package allows you to do non-preemptive multi-processing I think it would be handy to have since fork isn't working yet, can anyone help me out with suggestions on how to get rid of this error?