ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] cmake giving options the compiler does not understand

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Thu, 02 Jan 2014 16:02:08 -0500
Hi folks,

It took me a while to get my cmake build going again today; one of the reasons was that the builds would immediately fail with:

> cc: error: unrecognized command line option -Wshorten-64-to-32

As far as I can tell the problem is simply that check_c_compiler_flag() isn't working in my version of cmake (2.8.11): it always returns 1. Or does it not work for others?

Regards,
-Jeff