<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - _FILE_OFFSET_BITS redefined warnings when building echo-cancel module"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90881#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - _FILE_OFFSET_BITS redefined warnings when building echo-cancel module"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90881">bug 90881</a>
from <span class="vcard"><a class="email" href="mailto:shawn.walker@oracle.com" title="shawn.walker@oracle.com <shawn.walker@oracle.com>"> <span class="fn">shawn.walker@oracle.com</span></a>
</span></b>
<pre>The compilation errors are likely due to platform differences; I promise the
patch I provided works as expected here :-)
With that said, your alternative patch also works, so I'm fine with that fix
instead; it's probably the more portable fix.
FYI, this is the warning that was originally seen:
CC modules/echo-cancel/module_echo_cancel_la-adrian-aec.lo
In file included from
/builds/pulseaudio-6.0/src/modules/echo-cancel/adrian-aec.h:17:0,
from
/builds/pulseaudio-6.0/src/modules/echo-cancel/adrian-aec.c:23:
../config.h:698:0: warning: "_FILE_OFFSET_BITS" redefined [enabled by default]
#define _FILE_OFFSET_BITS 64
^
In file included from /usr/include/iso/math_iso.h:12:0,
from /usr/include/math.h:12,
from
/builds/pulseaudio-6.0/src/modules/echo-cancel/adrian-aec.c:17:
/usr/include/sys/feature_tests.h:214:0: note: this is the location of the
previous definition
#define _FILE_OFFSET_BITS 32
^</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>