[FFmpeg-trac] #1783(undetermined:new): libavutil contains file with the same name as a system header

FFmpeg trac at avcodec.org
Thu Oct 4 15:58:54 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 saste):

 Replying to [comment:9 Cigaes]:
 > Can you point us to the bug report against the Android build system?

 Yes, I think it should be better to get this properly fixed in the Android
 build system. Asking every different project not to duplicate an header
 name used in another random project (being it the standard C lib or
 whatever else) is going to be an hell, this should be really fixed at the
 Android build system level.

 In other words the library prefix, assuming it is unique, provides the
 header namespace for the given library and using the correct include path
 (rather than assuming that all headers are in a flat namespace as done by
 the Android build system) would prevent the kind of failure that you're
 observing.

 I'm not against renaming time.h -> avtime.h, but this would break API
 compatibility so you're trading a failure with another failure.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1783#comment:10>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list