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

crc32 compile error on wheezy VM #2039

Closed
ThomasWaldmann opened this issue Jan 14, 2017 · 1 comment
Closed

crc32 compile error on wheezy VM #2039

ThomasWaldmann opened this issue Jan 14, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@ThomasWaldmann
Copy link
Member

==> wheezy32:     In file included from src/borg/_crc32/crc32.c:3:0,
==> wheezy32:                      from src/borg/crc32.c:433:
==> wheezy32:     src/borg/_crc32/slice_by_8.c: In function ‘crc32_slice_by_8’:
==> wheezy32:     src/borg/_crc32/slice_by_8.c:389:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
==> wheezy32:     cc1: some warnings being treated as errors
==> wheezy32:     error: command 'gcc' failed with exit status 1
@ThomasWaldmann ThomasWaldmann added this to the 1.1.0b3 milestone Jan 14, 2017
@ThomasWaldmann
Copy link
Member Author

Moving line 389 some lines up below the other declarations fixes this.

@ThomasWaldmann ThomasWaldmann self-assigned this Jan 14, 2017
@enkore enkore closed this as completed in ededb6f Jan 14, 2017
enkore added a commit that referenced this issue Jan 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant