Sorry, I don't know, but I can venture some guesses:
Q. Why did I code in such a manner as to foil parsing of the source? 
A. Careless, or worse? The error was obvious of course so in that respect a 
crash was as good as a diagnostic.
Q. You want the preprocessor output?
A. It's gone. I thought perhaps the bug reporting script grabbed it.
Q. Why didn't I attach the preprocessor output to the bug report?
A. I guess it wasn't immediately obvious how, and I was in a rush. 
Q: What was the code that caused the problem?
A. I don't remember. I corrected it at the time. I should have saved it and 
should a similar situation arise in the future I will do so.

Here's the lambda in which the indicated errors used to be if that's any
help. It iterates through a circular list of circular lists.

auto log_serviceorder = [&]() {
    const char* F = "%2d. %c[%d] %s id=%d\n";
    $LOG(log, BP, TTINF, "service order for %d feeds follows:\n", feedcount);
    for(int i=0; i < feedcount; i++) {
        circlist<tt::feedhdlr*>::node* feednode = 
feedgroups.next()->content.next();   
        tt::feedhdlr* feed = feednode->content;
        $LOG(log,BP,TTINF,F, i, 
feed->venue(),feednode->id,feed->name(),feed->id());
    }
} ;


> Date: Fri, 19 Aug 2011 09:18:00 +0000
> From: 827...@bugs.launchpad.net
> To: dotmar...@hotmail.com
> Subject: [Bug 827806] 
> 
> You know what I'm going to ask... ;)
> 
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> 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

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

Title:
  cc1plus bails can't handle situation

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to