Your message dated Mon, 21 Feb 2011 09:07:18 +0100
with message-id <87pqqlu7yh....@faui44a.informatik.uni-erlangen.de>
and subject line Re: Bug#614338: common.h needs to include stdint.h
has caused the Debian Bug report #614338,
regarding common.h needs to include stdint.h
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
614338: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614338
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libavutil-dev
Version: 4:0.6.1-5
Severity: important
File: /usr/include/libavutil/common.h

common.h uses UINT64_C but does not define it so apps that use libavutil
but don't use stdint.h will have build issues. I ran into this while
trying to enable ffmpeg support in jugglemaster.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libavutil-dev depends on:
ii  libavutil50                   4:0.6.1-5  FFmpeg utility library

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
On Mon, Feb 21, 2011 at 07:34:13 (CET), Paul Wise wrote:

> On Mon, 2011-02-21 at 14:15 +0800, Paul Wise wrote:
>
>> common.h uses UINT64_C but does not define it so apps that use libavutil
>> but don't use stdint.h will have build issues. I ran into this while
>> trying to enable ffmpeg support in jugglemaster.

wrong. avutil.h #includes 'inttypes.h', which in turn 'stdint.h'. See
also the C99 spec, 7.8 Format conversion of integer types.

> Followup to that:
>
> The code I was trying to build is C++ so this needs to be added before
> any inclusion of stdint.h otherwise the code isn't C++ compatible.
>
> #define __STDC_CONSTANT_MACROS 1

Indeed, FFmpeg requires a working C99 compiler. C++ does not provide
that by default, so you as C++ application developer need to ensure a
proper environment when using FFmpeg. As you state correctly, that
#define is sufficient to ensure that. This has been discussed upstream
at that time and C++ users have to deal with it.

Personal remark: This is one of the very subtle (and annoying!)
differences between C and C++.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4


--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to