[webkit-dev] Unified source builds: A new rule for static variables

Chris Dumez cdumez at apple.com
Tue Aug 29 09:04:59 PDT 2017


I indeed think this will require “using” statements or explicit namespace at call sites.

I don’t think anonymous namespaces are suitable for resolving naming conflicts due to unity builds since the functions and up in the same compilation unit.

--
 Chris Dumez




> On Aug 29, 2017, at 9:00 AM, Darin Adler <darin at apple.com> wrote:
> 
> How does this work? Without a “using” how does it know to search this namespace? Is this superior to using anonymous namespaces instead of “static”?
> 
> — Darin
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20170829/5064e4cc/attachment.html>


More information about the webkit-dev mailing list