Wireshark mailing list archives

Re: cmake giving options the compiler does not understand


From: Jeff Morriss <jeff.morriss.ws () gmail com>
Date: Fri, 03 Jan 2014 13:31:43 -0500

On 01/02/2014 07:42 PM, Joerg Mayer wrote:
On Thu, Jan 02, 2014 at 04:30:14PM -0800, Guy Harris wrote:
Are we really encountering a case where the C compiler accepts -Wshorten-64-to-32 but the C++ compiler doesn't, or *vice 
versa*?  Or are we encountering a case where *neither* compiler accepts it, but CMake isn't detecting that?

Neither compiler supports that option.

It's highly unlikely that this directory was previously used with a compiler that *did* support it (unless Fedora pushed out a compiler downgrade) but I suppose it is possible.

I don't know. On my (32-bit) system, both compilers correctly report that
it is not supported. I'd need to see the cmake output on a system that has
this problem.

Unfortunately the evidence is all gone now. Maybe if I hit the problem again in the future...

___________________________________________________________________________
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: