Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1346)

Issue 553310045: Issue 5639: compile with -std=c++11 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 4 months ago by Dan Eble
Modified:
4 years, 4 months ago
Reviewers:
dak, dan, lemzwerg, haberg-1, lilypond, hahnjo
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

https://sourceforge.net/p/testlilyissues/issues/5639/ In addition to enabling C++11, I updated various things that I either remembered or found by searching for "C++11." Each of these is a separate commit to make it easy to revert in case that is necessary. 1: compile with -std=c++11 2: comments 3: Use C++11 for Input construction & assignment 4: auto_ptr -> unique_ptr 5: explicit bool conversion for Dimension_cache::Optional 6: shrink_to_fit () after filtering a Grob_array 7: use =delete for non-copiable classes

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -61 lines) Patch
M flower/include/std-vector.hh View 1 chunk +0 lines, -2 lines 0 comments Download
M flower/include/yaffut.hh View 1 chunk +1 line, -1 line 0 comments Download
M lily/beam.cc View 1 chunk +1 line, -1 line 0 comments Download
M lily/grob.cc View 7 chunks +7 lines, -7 lines 0 comments Download
M lily/grob-array.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M lily/include/acceptance-set.hh View 1 chunk +2 lines, -2 lines 0 comments Download
M lily/include/context.hh View 1 chunk +2 lines, -2 lines 0 comments Download
M lily/include/dimension-cache.hh View 1 chunk +1 line, -3 lines 0 comments Download
M lily/include/input.hh View 2 chunks +8 lines, -9 lines 0 comments Download
M lily/include/music-iterator.hh View 1 chunk +2 lines, -1 line 0 comments Download
M lily/include/paper-score.hh View 1 chunk +2 lines, -1 line 0 comments Download
M lily/include/small-smobs.hh View 3 chunks +9 lines, -6 lines 0 comments Download
M lily/include/smobs.hh View 2 chunks +4 lines, -3 lines 0 comments Download
M lily/include/sources.hh View 1 chunk +3 lines, -1 line 0 comments Download
M lily/include/translator.hh View 1 chunk +2 lines, -1 line 0 comments Download
M lily/input.cc View 1 chunk +0 lines, -15 lines 0 comments Download
M ly/music-functions-init.ly View 1 chunk +1 line, -1 line 0 comments Download
M stepmake/stepmake/c++-vars.make View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12
Dan Eble
fix typo
4 years, 4 months ago (2019-12-14 04:55:15 UTC) #1
lemzwerg
LGTM, thanks!
4 years, 4 months ago (2019-12-14 08:54:37 UTC) #2
hahnjo
Fabulous, thanks for putting this together!
4 years, 4 months ago (2019-12-14 10:18:33 UTC) #3
dak
On 2019/12/14 10:18:33, hahnjo wrote: > Fabulous, thanks for putting this together! I don't want ...
4 years, 4 months ago (2019-12-14 12:07:27 UTC) #4
haberg-1_telia.com
> On 14 Dec 2019, at 09:54, lemzwerg--- via Discussions on LilyPond development <lilypond-devel@gnu.org> wrote: ...
4 years, 4 months ago (2019-12-14 13:34:12 UTC) #5
haberg-1_telia.com
> On 14 Dec 2019, at 13:07, dak@gnu.org wrote: > > I don't want to ...
4 years, 4 months ago (2019-12-14 14:12:36 UTC) #6
lilypond_de-wolff.org
Great job, one remark: Although the patch for ly/music-functions-init.ly is a good patch, I do ...
4 years, 4 months ago (2019-12-14 18:23:08 UTC) #7
Dan Eble
On 2019/12/14 18:23:08, lilypond_de-wolff.org wrote: > Great job, one remark: > Although the patch for ...
4 years, 4 months ago (2019-12-14 19:51:33 UTC) #8
lilypond_de-wolff.org
> -----Original Message----- > From: nine.fierce.ballads@gmail.com <nine.fierce.ballads@gmail.com> > Sent: Saturday, December 14, 2019 8:52 PM ...
4 years, 4 months ago (2019-12-15 11:31:13 UTC) #9
dan_faithful.be
On Dec 15, 2019, at 06:31, lilypond@de-wolff.org wrote: > It is not the commit title, ...
4 years, 4 months ago (2019-12-15 14:40:08 UTC) #10
dak
On 2019/12/15 14:40:08, dan_faithful.be wrote: > On Dec 15, 2019, at 06:31, mailto:lilypond@de-wolff.org wrote: > ...
4 years, 4 months ago (2019-12-16 00:24:01 UTC) #11
lilypond_de-wolff.org
4 years, 4 months ago (2019-12-16 09:55:29 UTC) #12
Dan,

I would certainly not want that such a typo is not corrected at all.
You may take the decision, whether you push it to staging just alone (which I
should prefer) or you keep it in the patchset attached to Issue 5639

> -----Oorspronkelijk bericht-----
> Van: dak@gnu.org <dak@gnu.org>
> Verzonden: Monday, December 16, 2019 1:24 AM
> Aan: nine.fierce.ballads@gmail.com; lemzwerg@googlemail.com;
> jonas.hahnfeld@gmail.com; haberg-1@telia.com; lilypond@de-wolff.org;
> dan@faithful.be
> CC: lilypond-devel@gnu.org; reply@codereview-hr.appspotmail.com
> Onderwerp: Re: Issue 5639: compile with -std=c++11 (issue 553310045 by
> nine.fierce.ballads@gmail.com)
> 
> On 2019/12/15 14:40:08, dan_faithful.be wrote:
> > On Dec 15, 2019, at 06:31, mailto:lilypond@de-wolff.org wrote:
> > > It is not the commit title, but I do think that this is not a part
> of issue
> > 5639: compile with --std=c11
> > > The reason that I think it is important to keep this separated is
> that the
> > impact is very different.
> > > When a commit with only comments is in a separate issue, it is easy
> to cherry
> > pick it for let say version 2.0.
> > > Although you make it a separate commit, in rietveld it is still one
> issue.
> 
> > The effort of handling a separate ticket and review is not worth it to
> me for
> > this particular typo correction.  I'm willing to revert it and leave
> it for the
> > next person who notices it, if that bothers you less than piggybacking
> on this
> > issue.
> > —
> > Dan
> 
> 
> Dan, a typo in a comment or in a doc string _not_ passed through Texinfo or
> not containing Texinfo-relevant changes is material for just pushing to
staging
> in a commit of its own.  As you say, review is overkill, and wrapping it into
> some other topic not touching a file is a distraction.
> 
> https://codereview.appspot.com/553310045/

Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b