RE: Warning for missing sentinel arguments
From: Bert Huijben <bert_at_qqmail.nl>
Date: Tue, 19 Nov 2013 13:23:10 +0100
> -----Original Message-----
It is just compiler magic and doesn't affect the ABI or API. If such a marking would affect either of them it would be a breaking change to mark something deprecated.
I'm quite sure the deprecated marking was explicity designed to allow things to be marked without breaking it.
Besides we enable this *only* when we detect a compiler that supports the annotation.
The 0 vs NULL might be a valid argument for this specific function, but I don't see how a C compiler could really see the difference in just a simple argument list where both must be handed equivalent to the C rules.
Bert
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.