Created attachment 462526 [details]
/var/tmp/portage/media-libs/libsdl2-2.0.5/work/SDL2-2.0.5/src/video/SDL_blit_N.c: In function ‘calc_swizzle32’:
/var/tmp/portage/media-libs/libsdl2-2.0.5/work/SDL2-2.0.5/src/video/SDL_blit_N.c:127:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
const vector unsigned char plus = VECUINT8_LITERAL(0x00, 0x00, 0x00, 0x00,
CC'ing Lars as he bumped it. I can't reproduce it with gcc 5.4.0 though. Something ppc64 specific perhaps? Unfortunately timberdoodle is dead and I'm waiting on others before I can rebuild it.
[ebuild N ~] media-libs/libsdl2-2.0.5::gentoo USE="X alsa altivec fusionsound joystick opengl sound
threads video (-custom-cflags) -dbus -gles -haptic -nas -oss -pulseaudio -static-libs -tslib -udev -wayland -xinerama -xscreensaver" 0 KiB
(In reply to Jeroen Roovers from comment #2)
> [ebuild N ~] media-libs/libsdl2-2.0.5::gentoo USE="X alsa altivec
> fusionsound joystick opengl sound
> threads video (-custom-cflags) -dbus -gles -haptic -nas -oss -pulseaudio
> -static-libs -tslib -udev -wayland -xinerama -xscreensaver" 0 KiB
Just tried with those flags (except altivec) and still works here.
I can't reproduce it either. So I suppose this is a ppc specific issue...
Somehow I doubt it's gcc-5 related.
(In reply to Lars Wendler (Polynomial-C) from comment #4)
> Somehow I doubt it's gcc-5 related.
is this still happening with 2.0.7?