Wireshark mailing list archives

Compiling wirehsark --treat all warnings as errors.


From: Ateeth Kumar <ateethkumar () gmail com>
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*
___________________________________________________________________________
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: