[FFmpeg-trac] #1783(undetermined:new): libavutil contains file with the same name as a system header
FFmpeg
trac at avcodec.org
Wed Oct 3 23:08:29 CEST 2012
#1783: libavutil contains file with the same name as a system header
-------------------------------------+-------------------------------------
Reporter: obucinac | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by cehoyos):
Replying to [comment:3 dlongest]:
> Correct me if I am wrong, but giving a header the same file name as one
in the ANSI C standards may not fall under best practices anyways.
Possibly "avtime.h" would be a better fit in this case.
So if I understand you correctly you suggest that instead of you using the
correct "#include <libavutil/avutil.h> (or whatever the use case might
be), we should break API?
Or to try it differently:
Please provide the C program and the Makefile or the gcc command line that
fail. As you found out, neither the Makefile nor the gcc command line must
contain "-I/usr/include/libavutil".
Or am I missing something?
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1783#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list