#7486: definition conflict of gmtime in time_internal.h
-------------------------------------+-------------------------------------
             Reporter:  cortexembed  |                     Type:  defect
               Status:  new          |                 Priority:  minor
            Component:  avutil       |                  Version:  git-
             Keywords:               |  master
  time_internal.h gmtime             |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 When compiling ffmpeg on an embedded platform without gmtime support,
 compiling ffmpeg fails at:

 ./libavutil/time_internal.h:26:26: Fehler: Statische Deklaration von
 »gmtime_r« folgt nicht-statischer Deklaration
  static inline struct tm *gmtime_r(const time_t* clock, struct tm *result)

 Removing the "static" on line 26 (and 48 also) to only "inline struct tm
 *gmtime_rgmtime_r(const time_t* clock, struct tm *result) solves the
 issue.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7486>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac

Reply via email to