Wireshark mailing list archives

order of include files


From: Martin Kaiser <lists () kaiser cx>
Date: Thu, 4 Oct 2012 22:43:46 +0200

Hi,

should the order in which we include files make any difference?

#include <epan/packet.h> 
#include <epan/expert.h> 
-> ok

#include <epan/expert.h> 
#include <epan/packet.h> 
-> failure

expert.h needs packet_info.h, which is included by packet.h

Trivial fix is of course to include packet_info.h in experts.h.
Are such issues worth fixing?

Best regards,

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