help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _GLIBCXX_CONCEPT_CHECKS usage


From: Pedro Lamarão
Subject: Re: _GLIBCXX_CONCEPT_CHECKS usage
Date: Fri, 14 Sep 2007 02:21:34 -0000
User-agent: G2/1.0

On 13 set, 10:03, mathieu <mathieu.malate...@gmail.com> wrote:
> On Sep 10, 9:42 pm, Pedro Lamarão <pedro.lama...@gmail.com> wrote:
>
>
>
> > On Sep 7, 12:50 pm, mathieu <mathieu.malate...@gmail.com> wrote:
>
> > > $ g++ -D_GLIBCXX_CONCEPT_CHECKS l.cxx 2>&1|
> > > wc
> > >      57     565   13383
> > > $ g++ l.cxx 2>&1|
> > > wc
> > >      18     156    2784
>
> > > Concept checking is making my output even worse... or am I missing
> > > something here ?
>
> > Well... I don't think turning "concept checking" on should be adding
> > any code -- but you are also not turning optimizations on.
>
> > Try adding -O2 and checking the size again.
>
> $ g++ -O2 -D_GLIBCXX_CONCEPT_CHECKS l.cxx 2>&1| wc
>      57     565   13383
> $ g++ -O2  l.cxx 2>&1| wc
>      18     156    2784
>
> Output seems to contains the exact same number of bytes.
>
> I don't understand what O2 was supposed to do here. I am only trying
> to get human readable output from what I believe is implemented in gcc
> now: concept checking.

Oh, I read you all wrong. I totally misread that pipe to wc.

-O2 won't really matter in this case.

Paste the complete error messages together with the contents of that
translation unit.
It really seems something unexpected is going on.

--
 Pedro Lamarão



reply via email to

[Prev in Thread] Current Thread [Next in Thread]