[omniORB-dev] reserved identifier violation
Markus Elfring
Markus.Elfring at web.de
Fri Nov 3 12:20:06 UTC 2023
>> I would like to point out that identifiers like the following do not
>> fit to the expected naming convention of the C++ language standard.
>> * __CORBA_H__
>
> This is not something we will change. In the CORBA standard, names
> defined in IDL can start with any alphabetic character, but not
> underscore. We therefore use names starting with underscores in places
> like this, because it is guaranteed that they cannot clash with names
> of things defined in IDL.
Would you like to avoid that this software depends on undefined behaviour?
Would you become interested to use a development tool like “clang-tidy”
for corresponding source code adjustments?
https://clang.llvm.org/extra/clang-tidy/checks/bugprone/reserved-identifier.html
Regards,
Markus
More information about the omniORB-dev
mailing list