Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Invalid storage class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Invalid storage class

Hi, all,

I'm running a large chunk of existing C through gcc 4.0 (10.4), using "-arch ppc64 -mtune=G5". One routine coughs up an error:

The routine looks like this:

foo.c:599: error: invalid storage class for function 'is_q_trivial'
foo.c: In function 'blah':

static list blah(int a)
{   int b,c;

    static is_q_trivial();

Question: is this a change in the language that I missed? 3.3 doesn't seem to have a problem with it (not that that proves anything).

Thanks, as always.



Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
If you're not confused,
You're not paying attention

_______________________________________________ Do not post admin requests to the list. They will be ignored. Unix-porting mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

Visit the Apple Store online or at retail locations.

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.