Wireshark-dev: [Wireshark-dev] Compiling wirehsark --treat all warnings as errors.
Date Prev · Date Next · Thread Prev · Thread Next
From: Ateeth Kumar <ateethkumar@xxxxxxxxx>
Date: Tue, 30 Sep 2014 18:44:20 -0500
I used a system call in unix to run a process from wireshark toolbar. 

However during compilation time the gcc compiler treats all warnings as errors. 
Is there a way I can ignore warnings and let wireshark compile?

error: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Werror=unused-result]
     system(p);
           ^
cc1: all warnings being treated as errors



Regards,
Ateeth Kumar Thirukkovulur