Opened 7 months ago

#61604 assigned defect

p5-authen-smb @0.91: error: implicit declaration of function 'SMB_Init' is invalid in C99

Reported by: ryandesign (Ryan Schmidt) Owned by: mni@…
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur catalina Cc:
Port: p5-authen-smb

Description

https://build.macports.org/builders/ports-11_arm64-builder/builds/755/steps/install-port/logs/stdio

valid.c:22:3: error: implicit declaration of function 'SMB_Init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
  SMB_Init();
  ^
valid.c:30:7: error: implicit declaration of function 'SMB_Negotiate' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
  if (SMB_Negotiate(con, SMB_Prots) < 0) { /* An error */
      ^
valid.c:31:5: error: implicit declaration of function 'SMB_Discon' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    SMB_Discon(con,0);
    ^
valid.c:38:7: error: implicit declaration of function 'SMB_Discon' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      SMB_Discon(con,0);
      ^
valid.c:42:7: error: implicit declaration of function 'SMB_Logon_Server' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
  if (SMB_Logon_Server(con, USERNAME, PASSWORD) < 0) {
      ^
valid.c:43:5: error: implicit declaration of function 'SMB_Discon' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    SMB_Discon(con,0);
    ^
valid.c:47:3: error: implicit declaration of function 'SMB_Discon' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
  SMB_Discon(con,0);
  ^

Change History (0)

Note: See TracTickets for help on using tickets.