Ticket #3430 (closed defect: fixed)
[patch] introduce -Wundef check to catch macro typos
Reported by: | and | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.8.15 |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: | committed-master |
Description
introduce -Wundef check to catch macro typos
more infos about motivation at https://sourceware.org/glibc/wiki/Wundef
patch 01/04: use always defined MC_HOMEDIR_XDG macro
patch 02/04: remove superfluous macro check
patch 03/04: use #ifdef for autoconf provided marcos
patch 04/04: use -Wundef compiler option for future compile checks
Attachments
Change History
Changed 10 years ago by and
- Attachment mc-indroduct-wundef-check-02_v2.patch added
v2 of patch 02: respect macro logic
Note: See
TracTickets for help on using
tickets.