whitebread

10.22.2009

error: storage class specified for parameter

This error from gcc might mean you have forgotten a semicolon after a function prototype. Check your header files.

7 Responses to “error: storage class specified for parameter”

  1. Zach Says:

    What kind of error is that? Seriously.
    When a semicolon is missing the compiler should state that. Not some cryptic message that doesn’t even relate to the subject. Who’s supposed to figure out that that will refer to a missing semicolon?

    That’s like saying:
    “The duck is in the house” when the error is:
    “The chicken is down by the lake”

  2. Lindsay Says:

    Ommmmg wow, thank you!!!!!!! I have been banging my head against the wall trying to figure out what this error means!

  3. Pablo Says:

    Thank you a lot! you saved me a lot of time, stupid of me…

  4. Shane Says:

    Wow!! Thanks! That was the problem.

  5. martinkunev Says:

    +1 thank you

  6. cpp is rubbish Says:

    You are right Zach. cpp and gcc especially are THE MOST inhuman, illogical dinosaurs on this world. We are stuck with them because gcc is free and because many software-wrestlers enjoy the power cpp gives them. Really, they should be fired so the world can move forward.
    cpp needs a LOT! more code than java for example thus it cost a lot more. But people BELIEVE, cpp is the only real power. Which is rubbish but people are stupid.

Leave a Reply

 

The views and opinions expressed in this page are strictly those of the page author.
The contents of this page have not been reviewed or approved by the University of Minnesota.