copperhead/copperhead — pull request #6 by richardxia (2012-07-24 00:53:09+00:00)
Title: CheckVersion was not properly casting integers to strings

In SConstruct, the CheckVersion() method was blindly comparing the parsed version number (as strings) with the required version number (always given as a tuple of integers) and would return true even if the version number was smaller than the required version. I cast the required tuple into an array of strings so that the comparison works as intended.

In addition, I added a check in the autoconf() method which raises an error if the g++ version is too low.