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

Bug#818996: Please enable -Wabi-tag warning for C++ programs



On Wed, Mar 23, 2016 at 3:18 PM, Simon McVittie <smcv@debian.org> wrote:
> [Removing debian-devel from Cc]
>
> On Wed, 23 Mar 2016 at 13:31:32 +0100, Matthias Klose wrote:
>> If you want to change that, that change should be made in dpkg-buildflags.
>
> From the original report:
>
>> >On Tue, 22 Mar 2016 at 10:34:29 -0400, Jeffrey Walton wrote:
>> >>It appears Debian built the library with GCC, and GCC used
>> >>_GLIBCXX_USE_CXX11_ABI. The user then compiled with Clang and caught a
>> >>link error. The tools did not warn him about the problems, so the
>> >>report trickled downhill to us.
>
> it isn't clear to me whether that would have helped: dpkg-buildflags
> only affects the warnings emitted when Debian packages are built, whereas
> a change in gcc would also affect the warnings emitted when upstream
> software is built on Debian.
> ...

Maybe fast uptake of the patches discussed here would be most helpful:
http://llvm.org/bugs/show_bug.cgi?id=23529#c61.

Jeff


Reply to: