New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
larissabraz opened this Issue Jan 30, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@larissabraz

larissabraz commented Jan 30, 2018

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

This comment has been minimized.

Member

skinkie commented Jan 30, 2018

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

@skinkie skinkie added the t:bug label Jan 30, 2018

@skinkie skinkie self-assigned this Jan 30, 2018

@larissabraz

This comment has been minimized.

larissabraz commented Jan 30, 2018

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

make-log.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment