https://bugs.exim.org/show_bug.cgi?id=3052

            Bug ID: 3052
           Summary: Compiler warning: 'extern’ is not at beginning of
                    declaration [-Wold-style-declaration]
           Product: Exim
           Version: 4.97
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Unfiled
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 1455
  --> https://bugs.exim.org/attachment.cgi?id=1455&action=edit
extern before const

GCC (at least back to version 7.50) prefers "extern const" to "const extern"

globals.h:324:1: warning: ‘extern’ is not at beginning of declaration
[-Wold-style-declaration]
 const extern pcre2_code *regex_PRDR;         /* For recognizing PRDR settings
*/
 ^~~~~

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

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
##   [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to