GNOME Bugzilla – Bug 715069
assert.h in Headers disturbs with system's assert.h
Last modified: 2014-11-08 14:15:15 UTC
There's an assert.h in /Library/Frameworks/GStreamer.framework/Headers, which is actually "include/FLAC/assert.h". This will cause problem if "-I/Library/Frameworks/GStreamer.framework/Headers" and "#include <assert.h>", the compiler may not use system's assert.h.
Andoni, any idea what we could do about this? Maybe we should only put the GStreamer and GLib headers directory into .framework/Headers and lave the others as is?
I can confirm this issue. (I was about to submit the same bug.) Is there a reasonable way to rename / alias the assert.h file used by FLAC?
Should be now fixed in: http://cgit.freedesktop.org/gstreamer-sdk/flac/commit/?id=7ef6fde752fc4eb68f4e4549952eb8c3c27552c3 Packagers should remove the old assert.h file from the prefix to prevent it from being included in the packages (or wipe and package from scratch)