linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] reserved identifier violation


From: Markus Elfring
Subject: [Linphone-developers] reserved identifier violation
Date: Sat, 17 Dec 2022 17:34:15 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0

Hello,

I would like to point out that identifiers like the following do not fit to
the expected naming convention of the C++ language standard.

* __LINPHONE_CALL_PARAMS_H__
  
https://gitlab.linphone.org/BC/public/liblinphone/-/blob/a33b4d6f5f4b37612e046abc09beecfb4d74975a/include/linphone/call_params.h#L22

* __TUNNEL_CLIENT_MANAGER_H__
  
https://gitlab.linphone.org/BC/public/liblinphone/-/blob/a33b4d6f5f4b37612e046abc09beecfb4d74975a/coreapi/TunnelManager.hh#L11


Would you like to adjust your selection for unique names?
https://wiki.sei.cmu.edu/confluence/display/cplusplus/DCL51-CPP.+Do+not+declare+or+define+a+reserved+identifier#DCL51CPP.Donotdeclareordefineareservedidentifier-NoncompliantCodeExample%28HeaderGuard%29

Regards,
Markus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]