bugGNU nano - Bugs: bug #41683, compiling nano with -O0 leaves a C...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #41683: compiling nano with -O0 leaves a C comment on line 1 uncoloured

Submitter:  Benno Schulenberg <bens>
Submitted:  Mon 24 Feb 2014 09:28:17 PM UTC
   
 
Severity:  2 - Minor Status:  Duplicate
Assigned to:  bens Open/Closed:  Closed

Fri 17 Apr 2015 07:13:32 PM UTC, comment #2: 

Considering this a duplicate of bug #41908, as it depends on the compiler under what conditions the effect appears.

Benno Schulenberg <bens>
Group administrator
Tue 25 Feb 2014 02:46:55 PM UTC, comment #1: 

This small lack of colour is solved by patch file #29172, attached to bug #26977.

Benno Schulenberg <bens>
Group administrator
Mon 24 Feb 2014 09:28:17 PM UTC, original submission:  

Put this in a file, say comments.c:
  /* Comment */
  /* Comment */
  /* Comment */
  /* Comment */
Export CFLAGS="-g -O0", configure and compile nano.
Open the file with src/nano and see how the first
line isn't coloured.  Delete any of the four lines,
and see how now all lines are coloured.

Benno Schulenberg <bens>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-04-17 bens StatusNone Duplicate
        Open/ClosedOpen Closed
    2014-02-25 bens Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code