Jump to content

Question about the inconsistency of document and the code about MSVC10 support in systemc 2.3.0


Recommended Posts

In README file of systemc 2.3.0,   Windows 7 SP1, Microsoft Visual C++ 2010     (10.0) is listed as "has been well tested".


On the other hand, in src/sysc/packages/boost/config/compiler/visualc.hpp:

// last known and checked version is 1400 (VC9):
#if (_MSC_VER > 1500)
#     error "Unknown compiler version - please run the configure tests and report the results"
#  else
#     pragma message("Unknown compiler version - please run the configure tests and report the results")
#  endif
So which one is correct? I actually see many people are using systemc under MSVC2010. So I guess the warning/error from visualc.hpp should be ignored?
Link to comment
Share on other sites

The file visualc.hpp is part of the external Boost library, where a rather old version is partially packaged with SystemC.


The documentation in the README file is correct.  You can safely ignore the warning during the build.


The version check inconsistency has been fixed in SystemC 2.3.1 (among many other things).
I would encourage you to update to the latest version.


Greetings from Oldenburg,

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...