GNU nano - Bugs: bug #48262, when CFLAGS contains -Werror,...
You are not allowed to post comments on this tracker with your current authentication level.
bug #48262: when CFLAGS contains -Werror, ./configure fails to detect some functions
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Sat 18 Jun 2016 02:03:42 PM UTC | ||
Severity: | 3 - Normal | Status: | Wont Fix |
Assigned to: | bens | Open/Closed: | Closed |
Wed 29 Jun 2016 01:31:00 PM UTC, comment #3: |
Benno Schulenberg <bens> |
Tue 21 Jun 2016 04:03:42 PM UTC, comment #2: adding -Werror to your compiler settings and then running configure is wrong and unsupported. this isn't supported by really any autotools project. |
Mike Frysinger <vapier> |
Tue 21 Jun 2016 10:23:52 AM UTC, comment #1: Proposed patch. |
Benno Schulenberg <bens> |
Sat 18 Jun 2016 02:03:42 PM UTC, original submission:
To reproduce, run these two commands:
90c90
92,97c92,97
103a104,107
106,107c110
117a121,126
119,120c128,131
|
Benno Schulenberg <bens> |
Depends on the following items: None found
Items that depend on this one: None found
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 6 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-07-30 | bens | Open/Closed | Open | Closed | |
2016-06-29 | bens | Status | In Progress | Wont Fix | |
2016-06-21 | bens | Attached File | - | Added 0001-build-prevent-Werror-from-interfering-with-configure.patch, #37535 | |
Status | None | In Progress | |||
Assigned to | None | bens | |||
2016-06-20 | bens | Summary | when CFLAGS contains -Werror, ./configure fails to detect curses | when CFLAGS contains -Werror, ./configure fails to detect some functions |
Powered by Savane 3.13-758e.
Corresponding source code
Apparently it is not a good idea to have -Werror in your global CFLAGS. See https://lists.gnu.org/archive/html/nano-devel/2016-06/msg00116.html. Other packages (like grep, for example) don't filter out or disarm -Werror during ./configure either, so there is little point in nano doing so.