After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 715069 - assert.h in Headers disturbs with system's assert.h
assert.h in Headers disturbs with system's assert.h
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: packages
1.2.1
Other Mac OS
: Normal major
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-23 16:22 UTC by cee1
Modified: 2014-11-08 14:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description cee1 2013-11-23 16:22:40 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.
Comment 1 Sebastian Dröge (slomo) 2013-11-25 08:35:55 UTC
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?
Comment 2 Mike McNamara 2014-03-19 19:01:42 UTC
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?
Comment 3 Andoni Morales 2014-04-18 17:53:43 UTC
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)