Wireshark mailing list archives

Re: cmake giving options the compiler does not understand


From: Guy Harris <guy () alum mit edu>
Date: Thu, 2 Jan 2014 13:42:16 -0800


On Jan 2, 2014, at 1:34 PM, Alexis La Goutte <alexis.lagoutte () gmail com> wrote:

I have also some time the some error message...

With autotools, -Wshorten-64-to-32 is limited to only C...

Because, to quote the comment in configure.ac:

        # The Qt headers generate a ton of shortening errors on 64-bit systems
        # so only enable this for C for now.

I.e., it's not that g++ or clang++ don't support the option, it's that the bulk of our C++ code uses a framework that 
doesn't cast away those warnings (or fix them).
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: