- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to run the SSA (2013) on a project of ours in VS 2010. When I build for static analysis the build completes but I do not get a results file. I do have some link warnings (see below):
1>message.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
1>library.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
Are these warnings preventing the static analysis from running? Is there something I can do about this?
Thanks
Raj
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My linker warnings were a red herring (one of many I ran into).
Turns out that in order for SSA to properly run and generate results you need to have the Interprocedural Optimization (/q[no]ipo) option set to Yes.
Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"/Qipo" option should be used if you run SSA on multiple source files, SSA will check with cross files then generate result.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page