Ticket #34 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Compiler warnings on AMD64.

Reported by: gunnar Owned by: gnugo
Priority: normal Milestone: 3.7.8
Component: source Version:
Severity: normal Keywords:
Cc: patch: yes

Description

Compilation of GNU Go 3.7.7 on AMD64 gives the following warnings:

fuseki9.c:1384: warning: excess elements in array initializer
fuseki9.c:1384: warning: (near initialization for `fuseki9[1356].fullboard_hash.hashval')
fuseki13.c:892: warning: excess elements in array initializer
fuseki13.c:892: warning: (near initialization for `fuseki13[864].fullboard_hash.hashval')
fuseki19.c:24983: warning: excess elements in array initializer
fuseki19.c:24983: warning: (near initialization for `fuseki19[24955].fullboard_hash.hashval')

The problem is that NUM_HASHVALUES is only one on AMD64, not two as the C-code footer in extract_fuseki.c is hardcoded for.

Attachments

gunnar_7_8.2 Download (1.4 KB) - added by gunnar 6 years ago.

Regression Results

Attachment Rev. PASS FAIL Nodes Status

Change History

Changed 6 years ago by gunnar

comment:1 Changed 6 years ago by gunnar

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.