[opensuse-packaging] Program is likely to break with new gcc
Hello
Is this possible to fix?
get with osc build
[ 56s] I: Program is likely to break with new gcc. Try
-fno-strict-aliasing. [ 56s] W: libsmpeg strict-aliasing-punning
audio/mpeglayer3.cpp:37
mpeglayer3.cpp:37
inline void Mpegbitwindow::wrap(void)
{
int p=bitindex>>3;
point&=(WINDOWSIZE-1);
if(p>=point)
{
for(register int i=4;i
On Saturday 2015-07-04 00:48, Rusmir Duško wrote:
Is this possible to fix?
[ 56s] I: Program is likely to break with new gcc. Try -fno-strict-aliasing. [ 56s] W: libsmpeg strict-aliasing-punning audio/mpeglayer3.cpp:37
I see you are building smpeg+mp3 on build.opensuse.org. Since when did that get permitted? (MP3 patents are said to expire here and there, but that process has not completed yet.)
inline void Mpegbitwindow::wrap(void) { int p=bitindex>>3; point&=(WINDOWSIZE-1);
if(p>=point) { for(register int i=4;i
this one
if (WINDOWSIZE >= sizeof(int) memcpy(buffer + WINDOWSIZE, buffer, sizeof(int)) else memmove(buffer + WINDOWSIZE, buffer, sizeof(int)); -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sat, 4 Jul 2015, Jan Engelhardt wrote:
On Saturday 2015-07-04 00:48, Rusmir Duško wrote:
Is this possible to fix?
[ 56s] I: Program is likely to break with new gcc. Try -fno-strict-aliasing. [ 56s] W: libsmpeg strict-aliasing-punning audio/mpeglayer3.cpp:37
I see you are building smpeg+mp3 on build.opensuse.org. Since when did that get permitted? (MP3 patents are said to expire here and there, but that process has not completed yet.)
inline void Mpegbitwindow::wrap(void) { int p=bitindex>>3; point&=(WINDOWSIZE-1);
if(p>=point) { for(register int i=4;i
this one if (WINDOWSIZE >= sizeof(int) memcpy(buffer + WINDOWSIZE, buffer, sizeof(int)) else memmove(buffer + WINDOWSIZE, buffer, sizeof(int));
Just use memmove, the compiler will optimize according to WINDOWSIZE (if that is constant).
participants (3)
-
Jan Engelhardt
-
Richard Biener
-
Rusmir Duško