[exim-dev] [Bug 2457] New: 4.93rc0 FTBFS with HAVE_LOCAL_SCA…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 2457] 4.93rc0 FTBFS with HAVE_LOCAL_SCAN=yes
Subject: [exim-dev] [Bug 2457] New: 4.93rc0 FTBFS with HAVE_LOCAL_SCAN=yes
https://bugs.exim.org/show_bug.cgi?id=2457

            Bug ID: 2457
           Summary: 4.93rc0 FTBFS with HAVE_LOCAL_SCAN=yes
           Product: Exim
           Version: N/A
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Release process
          Assignee: unallocated@???
          Reporter: eximusers@???
                CC: exim-dev@???


Hello,

4.93rc0 fails to build when HAVE_LOCAL_SCAN=yes is set:

----------
cc -c -g -O2 -fdebug-prefix-map=/dev/shm/EXIM4/exim-4.93=.
-fstack-protector-strong -Wformat -Werror=format-security  -D_LARGEFILE_SOURCE
-fno-strict-aliasing -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -I.    string.c
In file included from exim.h:486,
                 from string.c:12:
functions.h:659:24: error: expected declaration specifiers or '...' before '('
token
  659 |  string_copy_taint_trc((s), tainted, __FUNCTION__, __LINE__)
      |                        ^
string.c:435:1: note: in expansion of macro 'string_copy_taint'
  435 | string_copy_taint(const uschar * s, BOOL tainted)
      | ^~~~~~~~~~~~~~~~~
functions.h:659:38: error: expected declaration specifiers or '...' before
'__FUNCTION__'
  659 |  string_copy_taint_trc((s), tainted, __FUNCTION__, __LINE__)
      |                                      ^~~~~~~~~~~~
string.c:435:1: note: in expansion of macro 'string_copy_taint'
  435 | string_copy_taint(const uschar * s, BOOL tainted)
      | ^~~~~~~~~~~~~~~~~
functions.h:659:52: error: expected declaration specifiers or '...' before
numeric constant
  659 |  string_copy_taint_trc((s), tainted, __FUNCTION__, __LINE__)
      |                                                    ^~~~~~~~
string.c:435:1: note: in expansion of macro 'string_copy_taint'
  435 | string_copy_taint(const uschar * s, BOOL tainted)
      | ^~~~~~~~~~~~~~~~~
string.c: In function 'string_vformat_trc':
string.c:1345:6: warning: suggest explicit braces to avoid ambiguous 'else'
[-Wdangling-else]
 1345 |   if (*fp == '.')
      |      ^
string.c:1508:10: warning: suggest explicit braces to avoid ambiguous 'else'
[-Wdangling-else]
 1508 |       if (!(flags & SVFMT_TAINT_NOCHK) && !dest_tainted &&
is_tainted(s))
      |          ^
make[3]: *** [Makefile:823: string.o] Error 1


----------

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