ahatanak added a comment.

Duncan and I had a discussion on this.

We are thinking about adding a warning that tells users that aligned allocation 
/deallocation operators are being called but they are not defined in the 
library. If the users haven't defined their own aligned allocation / 
deallocation operators, they will get a link error if the deployment target is 
too old, but the warning will tell them what the root cause of the error is. If 
they have defined their own operators, they will get a false positive warning, 
but it's still possible to turn it off by passing -faligned-allocation. 
Annotating the implicit declarations with availability will cause compile time 
errors, so we can't do so if we just want to issue a warning.

Richard, what do you think?


https://reviews.llvm.org/D34574



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to