VS2005 C++ code analysis reporting non-errors

A

ajryan

When I build my native/unmanaged C++ ATL+MFC app with /analyze I
receive several errors like this:
Error 1 _com_issue_error (SY_FUNCTION), offset: 0 symbol

The project builds fine without /analyze

It looks like a dumb output parser is just looking for the substring
"error" in the /analyze output. Is that the case? Or are these real
errors?
 
C

Carl Daniel [VC++ MVP]

ajryan said:
When I build my native/unmanaged C++ ATL+MFC app with /analyze I
receive several errors like this:
Error 1 _com_issue_error (SY_FUNCTION), offset: 0 symbol

The project builds fine without /analyze

It looks like a dumb output parser is just looking for the substring
"error" in the /analyze output. Is that the case? Or are these real
errors?

I believe that it really and truly is nothing more than a dumb (incredibly
dumb) output parser that's just looking for the word "error" in the output.

-cd
 
D

David Lowndes

When I build my native/unmanaged C++ ATL+MFC app with /analyze I
receive several errors like this:
Error 1 _com_issue_error (SY_FUNCTION), offset: 0 symbol

The project builds fine without /analyze

Which version of VS2005 do you have? Have you by chance got a beta
version of SP1 installed?

.... I seem to recall a lot of strange output when I tried the analyse
option with the beta SP1 - haven't noticed any such problem with the
released SP1.

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top