Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error : storage class specified for parameter

Tags:

c

linux

I have a C code written. When I compile it on Linux then in the header file it says the following error: storage class specified for parameter i32 , i8 and so on

typedef int i32;  typedef char    i8; 
like image 243
SPB Avatar asked Sep 09 '10 13:09

SPB


People also ask

What are the storage classes permitted in the function parameter?

The register class is the only storage class that can be explicitly specified for function parameters.


1 Answers

Chances are you've forgotten a semicolon in a header file someplace. Make sure each line ends in ;

like image 175
Featherlegs Avatar answered Sep 25 '22 13:09

Featherlegs