Article View: comp.std.c
Article #4062Re: Function-prototype scope: Why?
From: Thomas R. Truscott
Date: Wed, 20 Sep 1995 17:17
Date: Wed, 20 Sep 1995 17:17
13 lines
782 bytes
782 bytes
>... Prototype-scope prevents the parameter here > int k(struct S *) >from being fully declared. SAS Institute has a ton of code with this problem. Our workaround is: struct S; /* hack to increase scope of "struct S" */ int k(struct S *) This prototype-scope problem sure looks like a bug in the standard. I sure hope it gets fixed. Tom Truscott
Technical Details
Message-ID:
<43pibp$nu5@duke.cs.duke.edu>Path:
arc1-ca.pugleaf.net!cs.duke.edu!trtReferences:
<43cgmb$cec@news0.rain.rg.net> <43er80$458@caip.rutgers.edu> <43i723$j90@rdsunx.crd.ge.com> <43l3er$rp@caip.rutgers.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!cs.duke.edu!trt From: trt@cs.duke.edu (Thomas R. Truscott) Newsgroups: comp.std.c Subject: Re: Function-prototype scope: Why? Date: 20 Sep 1995 17:17:45 GMT Organization: SAS Institute Message-ID: <43pibp$nu5@duke.cs.duke.edu> References: <43cgmb$cec@news0.rain.rg.net> <43er80$458@caip.rutgers.edu> <43i723$j90@rdsunx.crd.ge.com> <43l3er$rp@caip.rutgers.edu> NNTP-Posting-Host: romeo.cs.duke.edu