Summary: | ASTERISK-12546: chan_vpb.cc:401: sorry, unimplemented: non-trivial designated initializers not supported | ||
Reporter: | Tzafrir Cohen (tzafrir) | Labels: | |
Date Opened: | 2008-08-09 16:09:52 | Date Closed: | 2011-06-07 14:03:03 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Channels/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | chan_vpb fails to build on recent asterisk 1.4 . The error I get: g++ -o chan_vpb.oo -c chan_vpb.cc -pthread -I/home/tzafrir/Proj/Asterisk/Git/asterisk/include -pipe -Wall -g3 -include /home/tzafrir/Proj/Asterisk/Git/asterisk/include/asterisk/autoconfig.h -Werror -Wunused -march=k8 -ffunction-sections -O6 -fPIC -DAST_MODULE=\"chan_vpb\" -MD -MT chan_vpb.oo -MF .chan_vpb.oo.d -MP chan_vpb.cc:401: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:401: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:401: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:401: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:401: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:401: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:401: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:401: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:401: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:401: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:401: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:401: error: uninitialized const member ‘ast_channel_tech::bridged_channel’ chan_vpb.cc:429: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:429: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:429: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:429: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:429: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:429: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:429: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:429: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:429: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:429: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:429: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:429: error: uninitialized const member ‘ast_channel_tech::bridged_channel’ System is Debian Testing. $ gcc -V gcc: '-V' option must have argument tzafrir@sweetmorn:~/Proj/Asterisk/Git/asterisk$ gcc --version gcc (Debian 4.3.1-2) 4.3.1 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The lines in question: static struct ast_channel_tech vpb_tech = { type: "vpb", description: tdesc, capabilities: AST_FORMAT_SLINEAR, [snip] }; static struct ast_channel_tech vpb_tech_indicate = { type: "vpb", description: tdesc, capabilities: AST_FORMAT_SLINEAR, [snip] }; | ||
Comments: | By: Tzafrir Cohen (tzafrir) 2008-08-09 20:10:29 A third-party patch added fields to ast_channel_tech. False alarm. |