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

no longer builds, macos 10.13 #39

Closed
tehn opened this issue Nov 27, 2017 · 2 comments
Closed

no longer builds, macos 10.13 #39

tehn opened this issue Nov 27, 2017 · 2 comments

Comments

@tehn
Copy link
Member

@tehn tehn commented Nov 27, 2017

i haven't built serialosc for awhile now, but these don't seem to be 10.13 specific issues.

anyone?

../src/common/ipc.c:109:28: error: taking address of packed member 'devnode' of class or structure 'sosc_ipc_msg::(anonymous union)::(anonymous)' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member]
if (read_strdata(fd, 1, &buf->connection.devnode))
^~~~~~~~~~~~~~~~~~~~~~~
../src/common/ipc.c:117:28: error: taking address of packed member 'serial' of class or structure 'sosc_ipc_msg::(anonymous union)::(anonymous)' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member]
if (read_strdata(fd, 2, &buf->device_info.serial,
^~~~~~~~~~~~~~~~~~~~~~~
../src/common/ipc.c:118:21: error: taking address of packed member 'friendly' of class or structure 'sosc_ipc_msg::(anonymous union)::(anonymous)' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member]
&buf->device_info.friendly))
^~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.

Waf: Leaving directory `/Users/tehn/Work/lib/serialosc/build'
Build failed
-> task in 'serialosc-common' failed (exit status 1):
{task 4431184592: c ipc.c -> ipc.c.2.o}
['/usr/bin/clang', '-mmacosx-version-min=10.5', '-std=c99', '-Wall', '-Werror', '-I/Users/tehn/Work/lib/serialosc/build', '-I/Users/tehn/Work/lib/serialosc', '-I/Users/tehn/Work/lib/serialosc/build/include', '-I/Users/tehn/Work/lib/serialosc/include', '-I/Users/tehn/Work/lib/serialosc/build/third-party', '-I/Users/tehn/Work/lib/serialosc/third-party', '-DHAVE_LIBMONOME=1', '-DHAVE_LO=1', '-DHAVE_STRDUP=1', '-DHAVE_STRNDUP=1', '-DHAVE_STRCASECMP=1', '-DHAVE_UNISTD_H=1', '-DVERSION="1.4"', '-D_GNU_SOURCE=1', '-DGIT_COMMIT="bfe0178"', '../src/common/ipc.c', '-c', '-o', '/Users/tehn/Work/lib/serialosc/build/src/common/ipc.c.2.o']

@nightmorph
Copy link

@nightmorph nightmorph commented Dec 4, 2017

this looks like a duplicate of bug #28. same build error:

#28

@tehn
Copy link
Member Author

@tehn tehn commented Dec 4, 2017

duplicate, thanks for spotting.

@tehn tehn closed this Dec 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants