[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simulavr-devel] [bug #42595] Faulty swig version number comparison
From: |
Ryan Schmidt |
Subject: |
[Simulavr-devel] [bug #42595] Faulty swig version number comparison |
Date: |
Sun, 22 Jun 2014 07:00:53 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.76.4 (KHTML, like Gecko) Version/7.0.4 Safari/537.76.4 |
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: address@hidden
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] [bug #42595] Faulty swig version number comparison,
Ryan Schmidt <=