[cfe-dev] -Wweak-vtables questions
Somorjai, Akos
ASomorjai at graphisoft.com
Thu Aug 30 08:50:40 PDT 2012
Hi all,
I'm currently experimenting with clang 3.1 (from Xcode 4.4 package on OS X 10.7), and I turned on the warning mentioned above. Most of the time it gives the correct warning, but in some situations I'd need some clarification:
1. classes defined in .cpp files — is the compiler warns me because theoretically I can add this .cpp file into two separate modules/frameworks?
2. pure virtual interface classes — is the warning necessary here?
3. classes which are not exported from a module, so marked with __attribute__((hidden))? Also, classes whose parent class is exported from a module, but the derived class is not? — is the warning necessary here?
Thanks, Akos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120830/cc35deeb/attachment.html>
More information about the cfe-dev
mailing list