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

efivar fails to build with 4.8.x #87

Closed
WenzongFan opened this issue Sep 12, 2017 · 1 comment
Closed

efivar fails to build with 4.8.x #87

WenzongFan opened this issue Sep 12, 2017 · 1 comment

Comments

@WenzongFan
Copy link

For example:
On Ubuntu 14.04.4 LTS \n \l

$ gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

| dp.c: In function ‘efidp_duplicate_extra’:
| dp.c:78:2: warning: implicit declaration of function ‘_Generic’ [-Wimplicit-function-declaration]
| if (add(sz, extra, &plus)) {
| ^
| In file included from dp.c:27:0:
| util.h:109:10: error: expected expression before ‘int’
| int *: int_add(a,b,c),
| ^
| dp.c:78:6: note: in expansion of macro ‘add’
| if (add(sz, extra, &plus)) {
| ^
| dp.c:65:58: warning: unused parameter ‘extra’ [-Wunused-parameter]
| efidp_duplicate_extra(const_efidp dp, efidp *out, size_t extra)
| ^

@vathpela
Copy link
Contributor

Pretty sure this should be fixed now; if it's not, please do re-open it.

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

2 participants