[exim-dev] [Bug 2572] New: auths/call_radius.c compilation f…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 2572] New: auths/call_radius.c compilation failures
https://bugs.exim.org/show_bug.cgi?id=2572

            Bug ID: 2572
           Summary: auths/call_radius.c compilation failures
           Product: Exim
           Version: N/A
          Hardware: x86
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Unfiled
          Assignee: unallocated@???
          Reporter: grobian@???
                CC: exim-dev@???


Created attachment 1305
--> https://bugs.exim.org/attachment.cgi?id=1305&action=edit
call_radius.patch

Bug for GitHub pull request
https://github.com/Exim/exim/pull/78/commits/70b28b113e21d21a528876c3abe88ccb5f7cc77d

Patch attached, symptom:


In file included from ../exim.h:479,
                 from call_radius.c:31:
call_radius.c: In function ‘auth_call_radius’:
../local_scan.h:193:64: error: expected expression before ‘)’ token
  193 |  string_sprintf_trc(fmt, US __FUNCTION__, __LINE__, __VA_ARGS__)
      |                                                                ^
call_radius.c:145:13: note: in expansion of macro ‘string_sprintf’
  145 |   *errptr = string_sprintf("RADIUS: can't read dictionary");
      |             ^~~~~~~~~~~~~~
../local_scan.h:193:64: error: expected expression before ‘)’ token
  193 |  string_sprintf_trc(fmt, US __FUNCTION__, __LINE__, __VA_ARGS__)
      |                                                                ^
call_radius.c:148:13: note: in expansion of macro ‘string_sprintf’
  148 |   *errptr = string_sprintf("RADIUS: add user name failed\n");
      |             ^~~~~~~~~~~~~~
../local_scan.h:193:64: error: expected expression before ‘)’ token
  193 |  string_sprintf_trc(fmt, US __FUNCTION__, __LINE__, __VA_ARGS__)
      |                                                                ^
call_radius.c:152:13: note: in expansion of macro ‘string_sprintf’
  152 |   *errptr = string_sprintf("RADIUS: add password failed\n");
      |             ^~~~~~~~~~~~~~
../local_scan.h:193:64: error: expected expression before ‘)’ token
  193 |  string_sprintf_trc(fmt, US __FUNCTION__, __LINE__, __VA_ARGS__)
      |                                                                ^
call_radius.c:155:13: note: in expansion of macro ‘string_sprintf’
  155 |   *errptr = string_sprintf("RADIUS: add service type failed\n");
      |             ^~~~~~~~~~~~~~


--
You are receiving this mail because:
You are on the CC list for the bug.