patchBison - 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

Mon 18 Dec 2023 11:17:50 AM UTC, original submission:  

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.

Jacek Caban <jacek>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jacek (Submitted the item)
  •  

    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

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code