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

OSX 10.8.5 make error #47

Closed
loretoparisi opened this issue Oct 6, 2013 · 2 comments
Closed

OSX 10.8.5 make error #47

loretoparisi opened this issue Oct 6, 2013 · 2 comments

Comments

@loretoparisi
Copy link

interleave.c:291:7: error: explicitly assigning a variable of type 'SF_PRIVATE ' (aka 'struct sf_private_tag *') to itself [-Werror,-Wself-assign]
{ psf = psf ; mode = mode ;
~~~ ^ ~~~
interleave.c:291:20: error: explicitly assigning a variable of type 'int' to itself [-Werror,-Wself-assign]
{ psf = psf ; mode = mode ;
~~~~ ^ ~~~~
2 errors generated.
make[2]: *
* [interleave.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

@erikd
Copy link
Member

erikd commented Oct 7, 2013

I don't know what version you are looking at, but that is not the version on github:

https://github.com/erikd/libsndfile/blob/master/src/interleave.c#L291

If you are compiling the last release (1.0.25) I suggest you drop the -Werror flag.

@erikd
Copy link
Member

erikd commented Oct 31, 2013

Closing this.

@erikd erikd closed this as completed Oct 31, 2013
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