[vlc-devel] [PATCH 4/4] demux: dash: mpd: fix compilation by gcc492 on OS/2

Jean-Baptiste Kempf jb at videolan.org
Sun May 17 09:45:45 CEST 2015


See above.

On 17 May, KO Myung-Hun wrote :
> -----
>   CXX      demux/dash/mpd/libdash_plugin_la-IsoffMainParser.lo
> In file included from ../include/vlc_common.h:38:0,
>                  from ./demux/dash/../adaptative/playlist/Url.hpp:29,
>                  from ./demux/dash/../adaptative/playlist/ICanonicalUrl.hpp:23,
>                  from ./demux/dash/../adaptative/playlist/Segment.h:31,
>                  from ./demux/dash/../adaptative/playlist/SegmentInfoCommon.h:32,
>                  from demux/dash/mpd/IsoffMainParser.h:32,
>                  from demux/dash/mpd/IsoffMainParser.cpp:29:
> demux/dash/mpd/IsoffMainParser.cpp: In member function 'size_t dash::mpd::IsoffMainParser::parseSegmentList(dash::xml::Node*, adaptative::playlist::SegmentInformation*)':
> ../include/vlc_config.h:44:27: error: 'INT64_C' was not declared in this scope
>  #define VLC_TS_0 INT64_C(1)
>                            ^
> demux/dash/mpd/IsoffMainParser.cpp:333:36: note: in expansion of macro 'VLC_TS_0'
>                  seg->startTime.Set(VLC_TS_0 + nzStartTime);
>                                     ^
> make.exe[4]: *** [demux/dash/mpd/libdash_plugin_la-IsoffMainParser.lo] Error 1
> -----
> ---
>  modules/demux/dash/mpd/IsoffMainParser.cpp | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/modules/demux/dash/mpd/IsoffMainParser.cpp b/modules/demux/dash/mpd/IsoffMainParser.cpp
> index e419c3b..0989311 100644
> --- a/modules/demux/dash/mpd/IsoffMainParser.cpp
> +++ b/modules/demux/dash/mpd/IsoffMainParser.cpp
> @@ -22,6 +22,8 @@
>   * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
>   *****************************************************************************/
>  
> +#define __STDC_CONSTANT_MACROS
> +
>  #ifdef HAVE_CONFIG_H
>  # include "config.h"
>  #endif
> -- 
> 1.9.5
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list