Bill Allombert on Thu, 21 Nov 2013 22:45:34 +0100


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

Re : Function vs list of instructions executed separately


On Thu, Nov 21, 2013 at 09:57:16PM +0100, Bill Allombert wrote:
> gp2c-run reported the following

I just write a patch to GP2C to change the line numbers for C to GP:
Hee the result:

39:206: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
39:42: warning: unused variable ‘answer’ [-Wunused-variable]
 In function ‘extract_basis’:
78:143: warning: unused variable ‘k’ [-Wunused-variable]
 In function ‘big_concat’:
109:21: warning: unused variable ‘k’ [-Wunused-variable]
 In function ‘cartesian_big_product’:
137:16: warning: unused variable ‘k’ [-Wunused-variable]
 In function ‘test_individual_for_extremality’:
161:5: warning: unused variable ‘k’ [-Wunused-variable]
 In function ‘test_individuals_for_extremality’:
174:16: warning: unused variable ‘r’ [-Wunused-variable]
174:5: warning: unused variable ‘k’ [-Wunused-variable]
 In function ‘untested_new_vectors’:
186:5: warning: unused variable ‘k’ [-Wunused-variable]
 In function ‘insert_constraint0’:
213:61: error: ‘new_cstr’ redeclared as different kind of symbol
212:64: note: previous definition of ‘new_cstr’ was here

Cheers,
Bill.