--- utils/net_rpc.o --- cc-1185 c99: WARNING File = utils/net_rpc.c, Line = 1496 An enumerated type is mixed with another type. SETSTR("fullname", full_name, FULL_NAME); ^ cc-1185 c99: WARNING File = utils/net_rpc.c, Line = 1497 An enumerated type is mixed with another type. SETSTR("homedir", home_dir, HOME_DIR); ^ cc-1185 c99: WARNING File = utils/net_rpc.c, Line = 1498 An enumerated type is mixed with another type. SETSTR("homedrive", dir_drive, HOME_DRIVE); ^ cc-1185 c99: WARNING File = utils/net_rpc.c, Line = 1499 An enumerated type is mixed with another type. SETSTR("logonscript", logon_script, LOGON_SCRIPT); ^ cc-1185 c99: WARNING File = utils/net_rpc.c, Line = 1500 An enumerated type is mixed with another type. SETSTR("profilepath", profile_path, PROFILE); ^ cc-1185 c99: WARNING File = utils/net_rpc.c, Line = 1501 An enumerated type is mixed with another type. SETSTR("description", acct_desc, DESCRIPTION); ^
I expanded the macro, looks like it's the STR_TERMINATE. cc-1185 c99: WARNING File = utils/net_rpc.c, Line = 1498 An enumerated type is mixed with another type. init_unistr2(&usr->uni_full_name, argv[0], STR_TERMINATE); \ ^
Fixed thanks ! Jeremy.