[FFmpeg-trac] #3626(undetermined:new): add 'extern "C"' to headers

FFmpeg trac at avcodec.org
Fri May 9 10:50:07 CEST 2014

#3626: add 'extern "C"' to headers
             Reporter:  spraff       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  wish         |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  headers      |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0

Comment (by ubitux):

 We have about 85 C public headers currently. Am I correct to assume that
 you are asking us to add a C++ boilerplate cruft for every one of them?

 Note that in addition to clutter the public header read by our
 downstreams, it will suggest that FFmpeg headers are C++ compatible, which
 is NOT the case because it uses C99 specific features in various places,
 which are not supported by the C++ language.

Ticket URL: <https://trac.ffmpeg.org/ticket/3626#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list