[exim-dev] [Bug 2216] New: Duplicate definition of yield in …

Page principale
Supprimer ce message
Répondre à ce message
Auteur: admin
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 2216] New: Duplicate definition of yield in nisplus_find
https://bugs.exim.org/show_bug.cgi?id=2216

            Bug ID: 2216
           Summary: Duplicate definition of yield in nisplus_find
           Product: Exim
           Version: 4.90
          Hardware: All
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Lookups
          Assignee: nigel@???
          Reporter: exim-cc0@???
                CC: exim-dev@???


In nisplus_find() [src/lookups/nisplus.c line 57] yield is defined twice:

uschar *yield = NULL;
gstring * yield = NULL;

Leading to the build error:

nisplus.c: In function 'nisplus_find':
nisplus.c:58:11: error: conflicting types for 'yield'
 gstring * yield = NULL;
           ^
nisplus.c:57:9: note: previous definition of 'yield' was here
 uschar *yield = NULL;


Code appears to be part-modified for gstring*, declaring yield either way leads
to further build errors.

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