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

A few small compilation fixes #57

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

nikreiman
Copy link
Contributor

Sorry about the renaming of UUID to af_UUID, but unfortunately UUID is just one of those symbols that is all over the Windows SDK. Renaming it is probably the easiest solution here.

As far as I can tell, the ELEMENT_TYPE symbol isn't being used by this
library. It conflicts with a symbol defined in the Windows SDK:

libaudiofile\alac\ALACBitUtilities.h(68): error C2371: 'ELEMENT_TYPE':
redefinition; different basic types (compiling source file
audiofile\libaudiofile\alac\ALACDecoder.cpp)
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winioctl.h(3944):
note: see declaration of 'ELEMENT_TYPE' (compiling source file
libaudiofile\alac\ALACDecoder.cpp)
This header isn't available on Windows.
The UUID symbol conflicts with a structure of the same name in the
Windows SDK.
This fixes a compiler error, since std::min() is used in this file.
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

Successfully merging this pull request may close these issues.

None yet

1 participant