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

Detlef Riekenberg <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
URL:
  <https://savannah.gnu.org/support/?110713>

                 Summary: Use __STDC__VERSION as first test for C99
compatibility (patch attached)
                 Project: Autoconf
               Submitter: wine_dev
               Submitted: Sun 04 Sep 2022 10:19:51 AM UTC
                Category: None
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: GNU/Linux


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sun 04 Sep 2022 10:19:51 AM UTC By: Detlef Riekenberg <wine_dev>

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







    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Sun 04 Sep 2022 10:19:51 AM UTC  Name:
0001-c.m4-Move-C-comments-to-use-__STDC_VERSION__-as-the-.patch  Size: 1KiB  
By: wine_dev

<http://savannah.gnu.org/support/download.php?file_id=53657>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110713>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.