Hi List!
The MSVC output:
packet-dcerpc-winreg.c
packet-dcerpc-winreg.h(21) : warning C4005: 'REG_NONE' : macro redefinition
C:\PROGRA~1\MICROS~1\VC98\INCLUDE\winnt.h(6902) : see previous definition of 'REG_NONE'
packet-dcerpc-winreg.h(22) : warning C4005: 'REG_SZ' : macro redefinition
C:\PROGRA~1\MICROS~1\VC98\INCLUDE\winnt.h(6903) : see previous definition of 'REG_SZ'
packet-dcerpc-winreg.h(23) : warning C4005: 'REG_EXPAND_SZ' : macro redefinition
C:\PROGRA~1\MICROS~1\VC98\INCLUDE\winnt.h(6904) : see previous definition of 'REG_EXPAND_SZ'
packet-dcerpc-winreg.h(24) : warning C4005: 'REG_BINARY' : macro redefinition
C:\PROGRA~1\MICROS~1\VC98\INCLUDE\winnt.h(6906) : see previous definition of 'REG_BINARY'
packet-dcerpc-winreg.h(25) : warning C4005: 'REG_DWORD' : macro redefinition
C:\PROGRA~1\MICROS~1\VC98\INCLUDE\winnt.h(6907) : see previous definition of 'REG_DWORD'
packet-dcerpc-winreg.h(26) : warning C4005: 'REG_DWORD_BIG_ENDIAN' : macro redefinition
C:\PROGRA~1\MICROS~1\VC98\INCLUDE\winnt.h(6909) : see previous definition of 'REG_DWORD_BIG_ENDIAN'
packet-dcerpc-winreg.h(27) : warning C4005: 'REG_LINK' : macro redefinition
C:\PROGRA~1\MICROS~1\VC98\INCLUDE\winnt.h(6910) : see previous definition of 'REG_LINK'
packet-dcerpc-winreg.h(28) : warning C4005: 'REG_MULTI_SZ' : macro redefinition
C:\PROGRA~1\MICROS~1\VC98\INCLUDE\winnt.h(6911) : see previous definition of 'REG_MULTI_SZ'
packet-dcerpc-winreg.h(29) : warning C4005: 'REG_RESOURCE_LIST' : macro redefinition
C:\PROGRA~1\MICROS~1\VC98\INCLUDE\winnt.h(6912) : see previous definition of 'REG_RESOURCE_LIST'
packet-dcerpc-winreg.h(30) : warning C4005: 'REG_FULL_RESOURCE_DESCRIPTOR' : macro redefinition
C:\PROGRA~1\MICROS~1\VC98\INCLUDE\winnt.h(6913) : see previous definition of 'REG_FULL_RESOURCE_DESCRIPTOR'
packet-dcerpc-winreg.h(31) : warning C4005: 'REG_RESOURCE_REQUIREMENTS_LIST' : macro redefinition
C:\PROGRA~1\MICROS~1\VC98\INCLUDE\winnt.h(6914) : see previous definition of 'REG_RESOURCE_REQUIREMENTS_LIST'
packet-dcerpc-winreg.h(39) : warning C4005: 'REG_CREATED_NEW_KEY' : macro redefinition
C:\PROGRA~1\MICROS~1\VC98\INCLUDE\winnt.h(6870) : see previous definition of 'REG_CREATED_NEW_KEY'
packet-dcerpc-winreg.h(40) : warning C4005: 'REG_OPENED_EXISTING_KEY' : macro redefinition
C:\PROGRA~1\MICROS~1\VC98\INCLUDE\winnt.h(6871) : see previous definition of 'REG_OPENED_EXISTING_KEY'
As this seems to be autogenerated, could someone have a look to fix
this. The definitions in winreg.h conflicts with the Win32 definitions,
which isn't a safe way to work with it.
Regards, ULFL