From: "Aleksey Kondratyev" Newsgroups: comp.os.msdos.djgpp Subject: DJGPP 2.8.0 labels as values problem Date: Thu, 4 Jun 1998 11:05:12 +0400 Organization: Middle Volga Communication service Lines: 44 Message-ID: <6l5h74$jio$1@simtel.ru> NNTP-Posting-Host: ppp13.usr.mv.ru To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hello DJGPP users, I have a problem using labels as values gcc extension in a c++ module. The following sample was compiled fine by DJGPP 2.7.2.1but 2.8.0 version complains on "Error: sorry, not implemented: initializer contains unrecognized tree code". #include #define ADD 0 #define SUB 1 template T do_it(T a,T b,int op) { static void *oops[]={&&op_add,&&op_sub}; goto *oops[(const int)op]; op_add: return a+b; op_sub: return a-b; } int main() { cout<