[libav-bugs] [Bug 657] New: file name libavutil/time.h conflict with system file time.h
bugzilla at libav.org
bugzilla at libav.org
Thu Mar 20 04:09:29 CET 2014
http://bugzilla.libav.org/show_bug.cgi?id=657
Summary: file name libavutil/time.h conflict with system file
time.h
Product: Libav
Version: git HEAD
Platform: ARM
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: Normal
Component: general
AssignedTo: bugzilla at libav.org
ReportedBy: abccna at 163.com
I'm porting libav to android.
I've met errors of unknown type name 'time_t' in libavutil/parseutils.h:122, or
dereferencing pointer to incomplete type tm in libavformat/cutils.c:57.
they are both caused by the file name conflict of libavutil/time.h and the
system header file time.h.
after rename libavutil/time.h to avutil_time.h, both errors are gone.
error log:
/home/ffmpeg/20140318libavproject/jni/libav-HEAD-75177b2/libavutil/parseutils.h:122:1:
error: unknown type name 'time_t'
/home/ffmpeg/20140318libavproject/jni/libav-HEAD-75177b2/libavformat/cutils.c:57:7:
error: dereferencing pointer to incomplete type
--
Configure bugmail: http://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the libav-bugs
mailing list