[vlc-devel] AppImage for distributing VLC builds for Linux

Filip Roséen filip at videolabs.io
Mon May 9 14:28:19 CEST 2016

> > Now fighting with
> > demux/mkv/util.cpp:192:79: error: expected ')' before 'PRId64'
> > 
> > Am I doing something fundamentally wrong since I keep running into
> > error after error?
> No, this is probably the fault of some missing include related to the file in
> question (relying on implementation-defined behavior). I will submit a patch for
> it as soon as possible.

Looking into the issue the relevant headers for PRId64 should be implicitly

    "util.cpp" --> "util.hpp" --> "mkv.hpp" --> <vlc_common.h> --> <inttypes.h>

I did--however--notice that the usage of PRId64 is wrong on the particular line in
question, so this problem should be sorted out by an upcoming patch (the value
printed is an unsigned in, PRId64 is therefore wrong).

Does the following sample compile on your system?

    #include <inttypes.h>
    #include <stdint.h>
    #include <stdio.h>
    int main()
      uint64_t x = INT64_C( 1024 * 42 );
      printf( "x: %" PRId64 "\n", x );
      return 0;

If it does not reproduce the behavior you describe further investigation is
required in order to diagnose why things are failing. Let me know if you need
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160509/f1ec38ee/attachment.html>

More information about the vlc-devel mailing list