URL:
  <http://savannah.nongnu.org/bugs/?42595>

                 Summary: Faulty swig version number comparison
                 Project: Simulavr: an AVR simulator
            Submitted by: ryandesign
            Submitted on: Sun 22 Jun 2014 07:00:53 AM GMT
                Category: Configure
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: simul...@ryandesign.com
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: simulavr

    _______________________________________________________

Details:

The code in simulavr 1.0.0 that checks if the swig version is new enough is
faulty, resulting in the following error


SWIG version >= 1.3.18 is required.  You have 3.0.2.


as reported to the MacPorts project here:
https://trac.macports.org/ticket/44108

The problem seems to be that it checks each digit of the two version numbers
against each other without regard for the other digits. That is, it compares
the first digits: is 3 less than 1? no? then move to the second digits: is 0
less than 3? yes, so the swig version must be too old.

The version comparison needs to be done correctly to fix this problem.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?42595>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel

Reply via email to