Empty declarations in librpc/gen_ndr/winreg.h, and others

McCall, Don (GSE-WTEC-Alpharetta) don.mccall at hp.com
Fri Apr 6 15:30:19 GMT 2007


Hi folks,
Can anyone tell me the purpose of the ';' in the following code (example
from librpc/gen_ndr/winreg.h):



#ifndef _HEADER_winreg
#define _HEADER_winreg

/* bitmap winreg_AccessMask */
#define KEY_QUERY_VALUE ( 0x00001 )
#define KEY_SET_VALUE ( 0x00002 )
#define KEY_CREATE_SUB_KEY ( 0x00004 )
#define KEY_ENUMERATE_SUB_KEYS ( 0x00008 )
#define KEY_NOTIFY ( 0x00010 )
#define KEY_CREATE_LINK ( 0x00020 )
#define KEY_WOW64_64KEY ( 0x00100 )
#define KEY_WOW64_32KEY ( 0x00200 )

;  <<<<<<<<<<<<

It's not a problem, but it does generate a LOT of warnings in the
compile phase:



cc: "librpc/gen_ndr/winreg.h", line 21: warning 558: Empty declaration.
cc: "librpc/gen_ndr/eventlog.h", line 16: warning 558: Empty
declaration.
cc: "librpc/gen_ndr/eventlog.h", line 26: warning 558: Empty
declaration.
cc: "librpc/gen_ndr/svcctl.h", line 71: warning 558: Empty declaration.
cc: "librpc/gen_ndr/srvsvc.h", line 323: warning 558: Empty declaration.
cc: "librpc/gen_ndr/wkssvc.h", line 178: warning 558: Empty declaration.
cc: "librpc/gen_ndr/wkssvc.h", line 183: warning 558: Empty declaration.

Thanks,
Don


More information about the samba-technical mailing list