autoconf-archive-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #9761] autoconf-archive's ax_cxx_compile_stdcxx.m4 fails when tes


From: Garrett Cooper
Subject: [patch #9761] autoconf-archive's ax_cxx_compile_stdcxx.m4 fails when testing `clang++ -std=c++11 -Werror -Wnon-virtual-dtor`
Date: Thu, 28 Feb 2019 16:34:11 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15

URL:
  <https://savannah.gnu.org/patch/?9761>

                 Summary: autoconf-archive's ax_cxx_compile_stdcxx.m4 fails
when testing `clang++ -std=c++11 -Werror -Wnon-virtual-dtor`
                 Project: GNU Autoconf Archive
            Submitted by: yaneurabeya
            Submitted on: Thu 28 Feb 2019 09:34:09 PM UTC
                Priority: 6
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The test for C++11 fails to compile with `-Werror -Wnon-virtual-dtor` on clang
7.0.1 as the Base and Derived classes have a concrete destructor, while having
virtual methods.

The attached patch adds virtual destructors in order to unbreak testing for
`-std=c++11` with the before mentioned flags.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 28 Feb 2019 09:34:09 PM UTC  Name:
0001-Unbreak-testing-for-std-c-11-with-clang-with-Werror-.patch  Size: 2KiB  
By: yaneurabeya

<http://savannah.gnu.org/patch/download.php?file_id=46375>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?9761>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]