fails with current 4.5 and 4.6 branches, and trunk.
$ g++ -std=c++0x -c bp_b.ii
src/bp/bp_b.cc: In lambda function:
src/bp/bp_b.cc:538:33: error: invalid conversion from 'tt_bookprxor::open_newfeeds()::x2feed*' to 'int' [-fpermissive]
src/bp/bp_b.cc:539:25: error: base operand of '->' is not a pointer
src/bp/bp_b.cc:540:24: error: 'x2feeds_i' was not declared in this scope
src/bp/bp_b.cc:540:58: error: return-statement with a value, in function returning 'void' [-fpermissive]
src/bp/bp_b.cc:545:9: warning: name lookup of 'x2feed_i' changed [enabled by default]
src/bp/bp_b.cc:534:46: warning: matches this 'x2feed_i' under ISO standard rules [enabled by default]
src/bp/bp_b.cc:538:22: warning: matches this 'x2feed_i' under old rules [enabled by default]
src/bp/bp_b.cc:545:55: error: cannot convert 'tt::feedhdlr*' to 'circlist<tt::feedhdlr*>*' in assignment
src/bp/bp_b.cc:547:5: internal compiler error: in pop_binding, at cp/name-lookup.c:382
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions.
Created attachment 25045
preprocessed source
fails with current 4.5 and 4.6 branches, and trunk.
$ g++ -std=c++0x -c bp_b.ii bp_b.cc: 538:33: error: invalid conversion from 'tt_bookprxor: :open_newfeeds( )::x2feed* ' to 'int' [-fpermissive] bp_b.cc: 539:25: error: base operand of '->' is not a pointer bp_b.cc: 540:24: error: 'x2feeds_i' was not declared in this scope bp_b.cc: 540:58: error: return-statement with a value, in function returning 'void' [-fpermissive] bp_b.cc: 545:9: warning: name lookup of 'x2feed_i' changed [enabled by default] bp_b.cc: 534:46: warning: matches this 'x2feed_i' under ISO standard rules [enabled by default] bp_b.cc: 538:22: warning: matches this 'x2feed_i' under old rules [enabled by default] bp_b.cc: 545:55: error: cannot convert 'tt::feedhdlr*' to 'circlist< tt::feedhdlr* >*' in assignment bp_b.cc: 547:5: internal compiler error: in pop_binding, at cp/name- lookup. c:382 //usr/share/ doc/gcc- snapshot/ README. Bugs> for instructions.
src/bp/bp_b.cc: In lambda function:
src/bp/
src/bp/
src/bp/
src/bp/
src/bp/
src/bp/
src/bp/
src/bp/
src/bp/
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/