Skip to content
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

Storage qualifiers conflict with each other #9

Open
Hugal31 opened this issue Oct 18, 2016 · 0 comments
Open

Storage qualifiers conflict with each other #9

Hugal31 opened this issue Oct 18, 2016 · 0 comments

Comments

@Hugal31
Copy link

Hugal31 commented Oct 18, 2016

A function cannot be static and inline at the same time for CNorm. When it is, the last qualifier is taken.
Ex:

inline static int f() {}
static inline int f() {}

gives this when it is parsed by Declaration and transformed into C:

static int f() {}
inline int f() {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant