errors in example on profile mode libstdc++ (gcc-4.5/changes.html)

2010-01-08 Thread HyperQuantum
In the list of changes for GCC 4.5 there's the following example:

#include 
int main()
{
  vector v;
  for (int k = 0; k > 1024; ++k)
v.insert(v.begin(), k);
}

The declaration of v needs the 'std::' qualification, and the loop
test should use '<' instead of '>'.
Right?


Re: Why not contribute? (to GCC)

2010-04-23 Thread HyperQuantum
On Fri, Apr 23, 2010 at 8:39 PM, Manuel López-Ibáñez
 wrote:
> This seems to be the question running around the blogosphere for
> several projects. And I would like to ask all people that read this
> list but hardly say or do anything.
>
> What reasons keep you from contributing to GCC?

The lack of time, for the most part. For GCC there are other reasons as well:

- the paperwork. I cannot just submit a patch if I feel like it.
- not easy to find something to contribute. Stuff that is either not
interesting to me, or too difficult for me to easily get into. GCC is
a mature project, so there aren't much 'holes to fill' (at first
sight, for a beginner).
- the programming language. I don't have any experience with C, I only
know some things about it because it's a subset of C++.

And I'm also watching other projects. I cannot contribute to all.
Well, actually I don't contribute to any project right now. Since I
started programming for my day job I don't really feel like
programming in the evenings or weekends anymore. Before that I spent
most of my free time working on my own project, my programming
language. But now I don't even have time to work on that anymore.


Re: Why not contribute? (to GCC)

2010-04-23 Thread HyperQuantum
On Fri, Apr 23, 2010 at 9:58 PM, HyperQuantum  wrote:
> On Fri, Apr 23, 2010 at 8:39 PM, Manuel López-Ibáñez
>  wrote:

>> What reasons keep you from contributing to GCC?
>
> The lack of time, for the most part.

I submitted a feature request once. It's now four years old, still
open, and the last message it received was two years ago. (PR26061)