mainAutoconf - Support: sr #110713, Use __STDC__VERSION as first test...

 
 

sr #110713: Use __STDC__VERSION as first test for C99 compatibility (patch attached)

Submitter:  Detlef Riekenberg <wine_dev>
Submitted:  Sun 04 Sep 2022 10:19:51 AM UTC
   
 
Priority:  * 7 - Release N (Desirable) Severity:  3 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 12 Dec 2023 08:57:23 PM UTC, comment #4: 
Zack Weinberg <zackw>
Group administrator
Thu 02 Feb 2023 11:55:27 PM UTC, comment #3: 

Hi Paul

> I don't see how this fixes an Autoconf bug,


No known bug, just looks more consistent,
when the version check is always the first thing checked.

> after the next release (since we're trying to stabilize).


That's ok.
--
bye bye ... Detlef

Detlef Riekenberg <wine_dev>
Thu 02 Feb 2023 11:19:58 PM UTC, comment #2: 

I don't see how this fixes an Autoconf bug, so I'm inclined to not install this until perhaps after the next release (since we're trying to stabilize).

Paul Eggert <eggert>
Group administrator
Thu 02 Feb 2023 06:41:08 AM UTC, comment #1: 

Could you send this to the autoconf-patches mailing list please?

Sam James <thesamesam>
Sun 04 Sep 2022 10:19:51 AM UTC, original submission:  


Old code uses a C++ style comment before checking _STDC_VERSION_, but the C89 and C11 tests
check the predefined macros first (_STDC_  / _STDC_VERSION_)

With Patch.

--
Regards, Detlef

Detlef Riekenberg <wine_dev>

 

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

Attach Files:
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by zackw (Updated the item)
  • -email is unavailable- added by eggert (Posted a comment)
  • -email is unavailable- added by thesamesam (Posted a comment)
  • -email is unavailable- added by wine_dev (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.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-12-12 zackw StatusConfirmed Done
        Open/ClosedOpen Closed
    2023-12-08 zackw StatusNone Confirmed
    2023-12-08 zackw Priority5 - Unprioritized 7 - Release N (Desirable)
    2022-09-04 wine_dev Attached File- Added 0001-c.m4-Move-C-comments-to-use-__STDC_VERSION__-as-the-.patch, #53657

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code