[Cin] BCwindowbase.C build error with gcc 5.5.0 ?

Andrew Randrianasulu randrianasulu at gmail.com
Mon Sep 16 03:53:58 CEST 2019


Hi, I noticed https://git.cinelerra-gg.org/git/?p=goodguy/cinelerra.git;a=commit;h=a2ebbc5e88800bd740652a32285f8145a1acfdc6 
modified also  bcwindowbase.C with patch for https://www.cinelerra-gg.org/bugtracker/view.php?id=297

But now I have compile error!

LANG=C  CFLAGS=-ggdb setarch i686 make  -f Makefile.devel 
------
[skip a lot]

make[1]: Entering directory `/dev/shm/tmp/cinelerra-goodguy-20190916/cinelerra-5.1/guicast'
g++ `cat i686/c_flags` -DMSGQUAL=bcwindowbase -c bcwindowbase.C -o i686/bcwindowbase.o
bcwindowbase.C: In member function 'virtual int BC_WindowBase::create_window(BC_WindowBase*, const char*, int, int, int, int, int, int, int, int, int, int, const char*, int, BC_Pixmap*, int)':
bcwindowbase.C:465:70: sorry, unimplemented: non-trivial designated initializers not supported
    static XVisualInfo vinfo = { .depth = 24, .c_class = DirectColor, };
                                                                      ^
bcwindowbase.C:465:70: sorry, unimplemented: non-trivial designated initializers not supported
make[1]: *** [i686/bcwindowbase.o] Error 1
make[1]: Leaving directory `/dev/shm/tmp/cinelerra-goodguy-20190916/cinelerra-5.1/guicast'
make[1]: Entering directory `/dev/shm/tmp/cinelerra-goodguy-20190916/cinelerra-5.1/cinelerra'
make[1]: Nothing to be done for `all'.

and then it just finishes normally.

stackoverflow bit about similar error:

https://stackoverflow.com/questions/31215971/non-trivial-designated-initializers-not-supported

may be it works with clang (I ahve clang 8.0.1, but not tried to rebuild Cin with it yet).


More information about the Cin mailing list