use of C reserved identifiers
Manlio Perillo
manlio.perillo at gmail.com
Tue Oct 22 15:06:21 UTC 2013
On 22/10/2013 16:36, Igor Sysoev wrote:
> On Oct 22, 2013, at 18:32 , Manlio Perillo wrote:
>
>> As per ISO C, identifiers that begin with an underscore and an uppercase letter are always reserved for any use; however in Nginx source code such identifiers are used as macros to guard against multiple file inclusion.
>>
>> This is not a real issue, but since it is easy to fix I have reported it.
>
> I do not believe that C reserved words will ever start with _NGX_...
>
>
Of course, that's the reason why I wrote this is not a real issue.
However, according to ISO C, doing so is still undefined behaviour;
pratically this is not a problem, unless you want to get some sort of
source code certification (?).
Regards Manlio
More information about the nginx-devel
mailing list