Praveen Bhaniramka wrote: > This is probably a gcc question but I will ask this anyway. > > I am trying to use Dehydra on a legacy code base. Since the base > compiler used to build Dehydra is gcc 4.3.0, g++ reports a bunch of > compiler errors and exits before it gets to invoking the Dehydra > callbacks. > > Is there any way to force gcc to ignore these compilation errors? > Since my target is to perform static analysis of this code base, I > don't really care about these errors.
Depends on the actual errors. Why don't you post them? It's possible that flags such as -fpermissive can fix things... it's also possible that you just need to modify your source a little bit to add new #include files, because GCC 4.3 doesn't automatically include system headers the way previous version did. See "Header dependency" at http://gcc.gnu.org/gcc-4.3/porting_to.html --BDS _______________________________________________ Dev-static-analysis mailing list [email protected] https://lists.mozilla.org/listinfo/dev-static-analysis
