cherokee / webserver

Cherokee Web Server
GNU General Public License v2.0
568 stars 104 forks source link

error: invalid storage class for function 'downloader_step' #1201

Open larissabrazb opened 6 years ago

larissabrazb commented 6 years ago

The following compilation error occurred when I tried to compile the code.

downloader.c:426:1: error: invalid storage class for function 'downloader_step' static ret_t downloader_step (cherokee_downloader_t *downloader) { ... }

I removed "static" from the function declaration and it compiled without any error.

skinkie commented 6 years ago

Do you have the gcc/clang version for me to reproduce?

larissabrazb commented 6 years ago

gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)

make-log.txt