I have forwarded this upstream. Marcin, the syntax described below might be a problem in more places than common.h

I hesitate to patch it there if there are additional instances where amd64 might have a problem.

Carlo

On Tue, 4 Apr 2006, Peter Schaefer wrote:

Package: fityk
Version: 0.7.2-1
Severity: grave

The amd64 version hang in most of the menu-points.

Recompilation gives two times the Warning
common.h:104: Warnung: Vergleich ist durch beschränkten Wertebereich des
Datentyps stets »wahr«
The result of (pos != std::string::npos) is everytime true do to range of
datatyps

Solution:
common.h
103c103
<     unsigned int start_pos = 0, pos=0;
---
    std::string::size_type start_pos = 0, pos=0;

I hope, that is it
Peter

--
org:      Humboldt Universitaet zu Berlin
           Institut fuer Physik, AG Roentgenbeugung
adr:      Newtonstrasse 15;; D-12489 Berlin; Germany
E-Mail:   [EMAIL PROTECTED]
tel;work: ++49-(0)30-20937894
tel;fax:  ++49-(0)30-20937760


--
Carlo U. Segre -- Professor of Physics
Associate Dean for Special Projects, Graduate College
Illinois Institute of Technology
Voice: 312.567.3498            Fax: 312.567.3494
[EMAIL PROTECTED]    http://www.iit.edu/~segre

Reply via email to