[exim-dev] [Bug 1919] New: reserved identifier violation

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 1919] New: reserved identifier violation
https://bugs.exim.org/show_bug.cgi?id=1919

            Bug ID: 1919
           Summary: reserved identifier violation
           Product: Exim
           Version: 4.87
          Hardware: All
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: General execution
          Assignee: nigel@???
          Reporter: elfring@???
                CC: exim-dev@???


I would like to point out that identifiers like “_DB_H_” and “__SRS_H__” do not
fit to the expected naming convention of the C language standard.

https://www.securecoding.cert.org/confluence/display/c/DCL37-C.+Do+not+declare+or+define+a+reserved+identifier

http://git.exim.org/exim.git/blob/860cdda24cec1d6af456cb3406d84e6dc21981f9:/src/src/auths/call_radius.c#l11
http://git.exim.org/exim.git/blob/3634fc257bd0667daef14d72005cd87c735bbb24:/src/src/srs.h#l9


Would you like to adjust your selection for unique names?

https://stackoverflow.com/questions/228783/what-are-the-rules-about-using-an-underscore-in-a-c-identifier#answer-228797
http://en.cppreference.com/w/cpp/language/identifiers#In_declarations

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