Aurelien Jacobs <[EMAIL PROTECTED]> added the comment:

On Sat, 12 Jul 2008 18:35:46 +0000
Mans Rullgard <[EMAIL PROTECTED]> wrote:

> Mans Rullgard <[EMAIL PROTECTED]> added the comment:
> 
> Aurelien Jacobs <[EMAIL PROTECTED]> writes:
> 
> > Aurelien Jacobs <[EMAIL PROTECTED]> added the comment:
> >
> > On Sat, 12 Jul 2008 14:11:34 +0000
> > Mans Rullgard <[EMAIL PROTECTED]> wrote:
> >
> >> 
> >> Mans Rullgard <[EMAIL PROTECTED]> added the comment:
> >> 
> >> ProgrammingKid <[EMAIL PROTECTED]> writes:
> >> 
> >> > ProgrammingKid <[EMAIL PROTECTED]> added the comment:
> >> >
> >> > Here is the complete error message: 
> >> >
> >> > In file included from ffmpeg.c:34:
> >> > libavformat/framehook.h:25:2: warning: #warning VHOOK is
> >> > deprecated. Please help finishing libavfilter instead of wasting 
> >> > your time writing new filters for this crappy filter system.
> >> > In file included from ffmpeg.c:41:
> >> > /usr/include/sys/resource.h:81: error: field `ru_utime' has 
> >> > incomplete type
> >> > /usr/include/sys/resource.h:82: error: field `ru_stime' has 
> >> > incomplete type
> >> > make: *** [ffmpeg.o] Error 1
> >> 
> >> Your system is broken.
> >
> > That's true. On the other hand, I would expect configure to
> > detect such a broken header (it's only used under
> > HAVE_SYS_RESOURCE_H).
> 
> Should it not be safe to assume that system headers which are present
> also are functional?

Experience has just proved that it's not safe.
If all supported systems were 100% POSIX compliant, you could remove
many checks from configure.

> In the extreme, too rigorous checks would turn configure into a libc
> test suite.

A libc test suite would be much, much, more complicated than simple
test compiling every header.

>  I'm sure you agree that is not what we're aiming for.

Sure, I do.
I just thought that test compiling headers instead of just testing
preprocessor wouldn't be insane. It add some safety with no
additionnal complexity. And it would workaround an actual issue.
That said, I'm not a MacOS user, and I don't personaly care about
this issue.

Aurel

______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue521>
______________________________________________________

Reply via email to