> I wonder... how about disabling IPA-SRA when annotalysis is enabled?

That would certainly make my life a lot easier -- IPA-SRA is not
really compatible with annotalysis.  The only problem I can see   is
that people may be unhappy if turning on annotalysis makes their code
runs slower.  We need a good way to communicate the issue to users.
Is there a way to print a note that will be reported by the build
system, e.g. "Thread safety analysis enabled, some optimizations are
disabled?"

> Also, why not turn OPT_Wthread_safety on by default?

We certainly could.  However, it generates extra warnings, which may
break the build for some users.  Which would users prefer: knowing
that annotalysis is suppressing warnings, or having to update their
build files to pass in an extra flag to turn off the warnings?

  -DeLesley

-- 
DeLesley Hutchins | Software Engineer | deles...@google.com | 505-206-0315

Reply via email to