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] Conflicting defines in packet-dcerpc-winreg.h and winnt.h

From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Sat, 25 Aug 2007 00:57:11 -0400
While compiling recently after a distclean on Windows XP, I noticed the following compiler "notes".  Perhaps the conflicting defines in packet-dceprc-winreg.h should be renamed?
- Chris
 
packet-dcerpc-winreg.c
packet-dcerpc-winreg.h(18) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\include\winnt.h(6902) : see previous definition of 'REG_NONE'
packet-dcerpc-winreg.h(19) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\include\winnt.h(6903) : see previous definition of 'REG_SZ'
packet-dcerpc-winreg.h(20) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\include\winnt.h(6904) : see previous definition of 'REG_EXPAND_SZ'
packet-dcerpc-winreg.h(21) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\include\winnt.h(6906) : see previous definition of 'REG_BINARY'
packet-dcerpc-winreg.h(22) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\include\winnt.h(6907) : see previous definition of 'REG_DWORD'
packet-dcerpc-winreg.h(23) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\include\winnt.h(6909) : see previous definition of 'REG_DWORD_BIG_ENDIAN'
packet-dcerpc-winreg.h(24) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\include\winnt.h(6910) : see previous definition of 'REG_LINK'
packet-dcerpc-winreg.h(25) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\include\winnt.h(6911) : see previous definition of 'REG_MULTI_SZ'
packet-dcerpc-winreg.h(26) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\include\winnt.h(6912) : see previous definition of 'REG_RESOURCE_LIST'
packet-dcerpc-winreg.h(27) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\include\winnt.h(6913) : see previous definition of 'REG_FULL_RESOURCE_DESCRIPTOR'
packet-dcerpc-winreg.h(28) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\include\winnt.h(6914) : see previous definition of 'REG_RESOURCE_REQUIREMENTS_LIST'
packet-dcerpc-winreg.h(36) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\include\winnt.h(6870) : see previous definition of 'REG_CREATED_NEW_KEY'
packet-dcerpc-winreg.h(37) : note C6311: C:\Program Files\Microsoft Visual Studio\VC98\include\winnt.h(6871) : see previous definition of 'REG_OPENED_EXISTING_KEY'


-----------------------------------------
This email may contain confidential and privileged material for the
sole use of the intended recipient(s). Any review, use, retention,
distribution or disclosure by others is strictly prohibited. If you
are not the intended recipient (or authorized to receive for the
recipient), please contact the sender by reply email and delete all
copies of this message. Also, email is susceptible to data
corruption, interception, tampering, unauthorized amendment and
viruses. We only send and receive emails on the basis that we are
not liable for any such corruption, interception, tampering,
amendment or viruses or any consequence thereof.