[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Variable Assigned to itself

From: Michael Hennebry
Subject: Re: [Help-glpk] Variable Assigned to itself
Date: Sun, 14 Sep 2014 20:03:49 -0500 (CDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

On Fri, 12 Sep 2014, Nigel Galloway wrote:

I think you will find that this error is being reported by Codan, a
truncation of Code Analysis I presume. This is an Eclipse Tool and not
part of the compiler tool chain. I think you'll find a separate output
window in Eclipse with the output from the compiler in it. There should
be no error as t=t is not illegal in C or C++, and I would expect GLPK
to have compiled correctly.

t=t is valid C, but that does not make it a good idea.

The statement is either as intended or not.
The statement is either a nullity or doing something subtle.

In any case, the code should be changed.
If nothing else,
the code should have documentation to inform its next reader.

On Wed, Sep 10, 2014, at 04:48 PM, Norman Jessup wrote:
I'm trying to compile the glpk source using the Eclipse IDE (I'm not
terribly familiar with either).  One module, glpini01.c, is generating
multiple errors of the form:

     "Assignment to istelf 't = t' "

Michael   address@hidden
"SCSI is NOT magic. There are *fundamental technical
reasons* why it is necessary to sacrifice a young
goat to your SCSI chain now and then."   --   John Woods

reply via email to

[Prev in Thread] Current Thread [Next in Thread]