[Bug 827806] Re: cc1plus bails can't handle situation

Bug Watch Updater 827806 at bugs.launchpad.net
Thu Aug 18 09:35:03 UTC 2011


Launchpad has imported 1 comments from the remote bug at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50114.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-08-18T08:23:41+00:00 Doko-v wrote:

Created attachment 25045
preprocessed source

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.

Reply at: https://bugs.launchpad.net/gcc/+bug/827806/comments/2


** Changed in: gcc
       Status: Unknown => New

** Changed in: gcc
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.5 in Ubuntu.
https://bugs.launchpad.net/bugs/827806

Title:
  cc1plus bails can't handle situation

Status in The GNU Compiler Collection:
  New
Status in “gcc-4.5” package in Ubuntu:
  Confirmed
Status in “gcc-4.6” package in Ubuntu:
  Confirmed

Bug description:
  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’
  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'
  src/bp/bp_b.cc:545:9: warning: name lookup of ‘x2feed_i’ changed
  src/bp/bp_b.cc:534:46: warning:   matches this ‘x2feed_i’ under ISO standard rules
  src/bp/bp_b.cc:538:22: warning:   matches this ‘x2feed_i’ under old rules
  src/bp/bp_b.cc:545:55: error: cannot convert ‘tt::feedhdlr*’ to ‘circlist<tt::feedhdlr*>*’ in assignment
  src/bp/bp_b.cc:546: confused by earlier errors, bailing out
  Preprocessed source stored into /tmp/ccR2q49G.out file, please attach this to your bugreport.

  ProblemType: Crash
  DistroRelease: Ubuntu 11.04
  Package: g++-4.5 4.5.2-8ubuntu4
  ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
  Uname: Linux 2.6.38-10-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Tue Aug 16 23:24:26 2011
  ExecutablePath: /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/cc1plus
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  SourcePackage: gcc-4.5
  UpgradeStatus: Upgraded to natty on 2011-05-29 (79 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/827806/+subscriptions




More information about the foundations-bugs mailing list