[Top][All Lists]

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

Re: [Help-glpk] Variable Assigned to itself

From: Nigel Galloway
Subject: Re: [Help-glpk] Variable Assigned to itself
Date: Fri, 12 Sep 2014 05:59:33 -0700

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.  

  Nigel Galloway

On Wed, Sep 10, 2014, at 04:48 PM, Norman Jessup wrote:
> Hello,
> 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' "
> On looking at the code this does seem to be the case.  I'm not sure if 
> this is allowed by the C++ standard or not, and there is an option I can 
> set to ignore this "error".  However, as the starting value of t is 
> established just a few lines before the "error" it seems it would be 
> very straightforward to modify this so that no compiler or pre-compiler 
> complains.  Is there any reason why this can't be done ?   I'd be happy 
> to submit proposed changes, though given these are trivial it may be 
> easier for the guardians of the code to change themselves rather than 
> vet my updates.
> Thank you
> -- 
> Norman Jessup
> +61 2 9876 2703
> +61 4 1768 3515
> _______________________________________________
> Help-glpk mailing list
> address@hidden

-- - Choose from over 50 domains or use your own

reply via email to

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