[Bug c/20258] error generated for storage class specified for function parameter

neil at daikokuya dot co dot uk gcc-bugzilla@gcc.gnu.org
Tue Mar 1 12:39:00 GMT 2005


------- Additional Comments From neil at daikokuya dot co dot uk  2005-03-01 12:39 -------
Subject: Re:  error generated for storage class specified for function parameter

schlie at comcast dot net wrote:-

> Yes I understand. However it seems somewhat ironic that "static const"
> already does just that, as it specifies the storage class and access

What if it were the pointer that was like this?  You need a type
qualifier, not a storage class.

Neil.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20258



More information about the Gcc-bugs mailing list