From: "Andrew Clark" Newsgroups: comp.lang.c,comp.os.msdos.djgpp References: <3a267c5f DOT 0 AT news DOT syr DOT edu> Subject: Re: what's this mean? Date: Thu, 30 Nov 2000 11:31:22 -0500 Lines: 42 Organization: Syracuse University X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: syru205-149.syr.edu Message-ID: <3a267e2a.0@news.syr.edu> X-Trace: 30 Nov 2000 11:19:54 -0500, syru205-149.syr.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com wait, i think i just found it. moral: always read your posts BEFORE you post them -- > I have a dumb question: Are external static variables allocated storage in > stack or the heap? No. - Ben Pfaff "Andrew Clark" wrote in message news:3a267c5f DOT 0 AT news DOT syr DOT edu... > bige.c:15: warning: passing arg 2 of 'mem_err' dicards qualifiers from > pointer target type > > line 15: > > mem_err("could not create %s\n", names_east[i]); > > where mem_err is a function taking 2 char *'s and returning void. > names_east is a static const char *[]. > > what does this warning mean? > > thanks! > > Andrew Clark > Computer Science > Syracuse University > > -- > > I have a dumb question: Are external static variables allocated storage in > > stack or the heap? > > No. > - Ben Pfaff > > >