GNU nano - Patches: patch #8076, SVN r4580: Fix compilation with...
You are not allowed to post comments on this tracker with your current authentication level.
patch #8076: SVN r4580: Fix compilation with --enable-tiny; fix warning with -pedantic.
Submitter: | David Lawrence Ramsey <dolorous> | ||
Submitted: | Fri 14 Jun 2013 07:51:38 PM UTC | ||
Priority: | 5 - Normal | Status: | Done |
Privacy: | Public | Assigned to: | bens |
Open/Closed: | Closed | Release: | None |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
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 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2014-02-22 | bens | Status | None | Done | |
Assigned to | None | bens | |||
Open/Closed | Open | Closed | |||
2013-06-14 | dolorous | Attached File | - | Added nano4580pedantic.patch, #28319 |
Powered by Savane 3.13-4448.
Corresponding source code
The attached patch fixes the following minor issues with trunk:
1. One reference to the copy_text variable in cut.c is not in ENABLE_TINY #ifdefs when it needs to be, which makes compilation in tiny mode fail since the copy_text variable is compiled out in tiny mode.
2. One more (char *) cast is needed for pedantic purposes (again, using g++ as the compiler and "-g3 -Wall -pedantic" as CFLAGS; it's still dubious, but it still warns about things gcc misses).
3. Finally, some inconsistent spacing around these chunks of code is fixed.
Thanks in advance.