[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #10420] c.m4: Use __has_attribute to check for attribute availabi
From: |
Jacek Caban |
Subject: |
[patch #10420] c.m4: Use __has_attribute to check for attribute availability. |
Date: |
Mon, 18 Dec 2023 06:17:52 -0500 (EST) |
URL:
<https://savannah.gnu.org/patch/?10420>
Summary: c.m4: Use __has_attribute to check for attribute
availability.
Group: Bison
Submitter: jacek
Submitted: Mon 18 Dec 2023 11:17:50 AM UTC
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 18 Dec 2023 11:17:50 AM UTC By: Jacek Caban <jacek>
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 18 Dec 2023 11:17:50 AM UTC Name:
0001-c.m4-Use-__has_attribute-to-check-for-attribute-availa.txt Size: 2KiB
By: jacek
<http://savannah.gnu.org/patch/download.php?file_id=55458>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/patch/?10420>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [patch #10420] c.m4: Use __has_attribute to check for attribute availability.,
Jacek Caban <=