Wireshark-bugs: [Wireshark-bugs] [Bug 6341] New: It's just about the file "in_cksum.h" (path "/e
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6341
Summary: It's just about the file "in_cksum.h" (path
"/epan/in_cksum.h");there is a lack of "#ifndef
#define ... #endif"
Product: Wireshark
Version: 1.4.6
Platform: x86
OS/Version: Windows 7
Status: NEW
Severity: Normal
Priority: Low
Component: Wireshark
AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
ReportedBy: chenjinfengchina@xxxxxxx
Created an attachment (id=7014)
--> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7014)
add the macro : "#ifndef #define ... #endif"
Build Information:
wireshark 1.4.6
Copyright 1998-2011 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled (32-bit) with GTK+ 2.16.6, with GLib 2.22.4, with WinPcap (version
unknown), with libz 1.2.3, without POSIX capabilities, without libpcre, with
SMI
0.4.8, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.10.3,
with
Gcrypt 1.4.6, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built
Sep
6 2011), with AirPcap.
Running on 32-bit Windows 7, build 7600, with WinPcap version 4.1.2 (packet.dll
version 4.1.0.2001), based on libpcap version 1.0 branch 1_0_rel0b (20091008),
GnuTLS 2.10.3, Gcrypt 1.4.6, without AirPcap.
Built using Microsoft Visual C++ 8.0 build 50727
--
Usually we wirte a .h file with the format:
For exmaple (in_cksum.h):
#ifndef __IN_CKSUM_H__
#define __IN_CKSUM_H__
...
#endif
It will be avoid of redefinition;
that is all! thank you! (Sorry , my English is poor! --!)
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.