[asterisk-bugs] [Asterisk 0013264]: chan_vpb.cc:401: sorry, unimplemented: non-trivial designated initializers not supported

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Aug 9 20:10:29 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13264 
====================================================================== 
Reported By:                tzafrir
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13264
Category:                   Channels/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 136726 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-09 16:09 CDT
Last Modified:              2008-08-09 20:10 CDT
====================================================================== 
Summary:                    chan_vpb.cc:401: sorry, unimplemented: non-trivial
designated initializers not supported
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 at 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]
};


====================================================================== 

---------------------------------------------------------------------- 
 (0091256) tzafrir (manager) - 2008-08-09 20:10
 http://bugs.digium.com/view.php?id=13264#c91256 
---------------------------------------------------------------------- 
A third-party patch added fields to ast_channel_tech. False alarm. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-09 20:10 tzafrir        Note Added: 0091256                          
======================================================================




More information about the asterisk-bugs mailing list