Bison - Patches: patch #10420, c.m4: Use __has_attribute to check...
You are not allowed to post comments on this tracker with your current authentication level.
patch #10420: c.m4: Use __has_attribute to check for attribute availability.
Submitter: | Jacek Caban <jacek> | ||
Submitted: | Mon 18 Dec 2023 11:17:50 AM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Attached Files
file #55458: 0001-c.m4-Use-__has_attribute-to-check-for-attribute-availa.txt added by jacek (2KiB - text/plain)
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.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2023-12-18 | jacek | Attached File | - | Added 0001-c.m4-Use-__has_attribute-to-check-for-attribute-availa.txt, #55458 |
Powered by Savane 3.13-bb6a.
Corresponding source code
This fixes -Wunused-but-set-variable warnings on clang msvc targets. Commit
a166d5450e3f47587b98f6005f9f5627dbe21a5b fixed those warnings in most cases,
but currently YY_ATTRIBUTE_UNUSED is defined only when _GNUC_ is defined.
When using clang in msvc mode, it's not defined, but _unused_ attribute
is still available.