Wireshark-dev: Re: [Wireshark-dev] cmake giving options the compiler does not understand
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 2 Jan 2014 13:42:16 -0800
On Jan 2, 2014, at 1:34 PM, Alexis La Goutte <alexis.lagoutte@xxxxxxxxx> 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).