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

Fails to build with gcc4 #2

Closed
falkTX opened this issue Dec 24, 2018 · 2 comments
Closed

Fails to build with gcc4 #2

falkTX opened this issue Dec 24, 2018 · 2 comments

Comments

@falkTX
Copy link

falkTX commented Dec 24, 2018

WIth latest lv2 headers and gcc4.9 as compiler, build fails with:

[1/3] Compiling src/sratom.c
In file included from /usr/lib/lv2/atom.lv2/forge.h:54:0,
                 from ../src/sratom.c:23:
/usr/include/lv2/atom/util.h: In function ‘lv2_atom_object_query’:
/usr/include/lv2/atom/util.h:336:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (LV2_Atom_Object_Query* q = query; q->key; ++q) {

Needs -std=c99 or similar I guess.

PS: I was going to report under dev.drobilla.net, but I see sratom is not selectable as component. So I guess that is deprecated, perhaps not really to be used anymore?

@drobilla
Copy link
Collaborator

Fixed in f53a06f

@falkTX
Copy link
Author

falkTX commented Dec 24, 2018

Confirmed working, thanks

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