Bug 3885 - utils/net_rpc.c: enumerated type is mixed with another type
Summary: utils/net_rpc.c: enumerated type is mixed with another type
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.23
Hardware: SGI IRIX
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-28 10:12 UTC by Jason Mader (mail bounces back)
Modified: 2006-06-28 13:46 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader (mail bounces back) 2006-06-28 10:12:37 UTC
--- 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);
        ^
Comment 1 Jason Mader (mail bounces back) 2006-06-28 10:15:15 UTC
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); \
                                                     ^
Comment 2 Jeremy Allison 2006-06-28 13:46:54 UTC
Fixed thanks !
Jeremy.