Skip to content

Errors compiling ks_imp_dyn executables #88

@bazalesha

Description

@bazalesha

There seem to be a change to fermion links functions that broke the ks_imp_dyn code, for example:
$ make su3_rmd
....
update.c: In function ‘update’:
update.c:102:13: error: incompatible types when assigning to type ‘fn_links_t {aka struct }’ from type ‘fn_links_t * {aka struct *}’
fn_last = get_fm_links(fn_links, n-1);
^
update.c:103:48: error: incompatible type for argument 4 of ‘grsource_imp’
grsource_imp( F_OFFSET(phi2), mass2, EVEN, fn_last);
^~~~~~~
In file included from params.h:6:0,
from lattice.h:21,
from ks_imp_includes.h:14,
from update.c:18:
../include/imp_ferm_links.h:469:6: note: expected ‘fn_links_t * {aka struct *}’ but argument is of type ‘fn_links_t {aka struct }’
void grsource_imp( field_offset dest, Real mass, int parity,
^~~~~~~~~~~~
update.c:104:22: error: incompatible type for argument 1 of ‘destroy_fn_links’
destroy_fn_links(fn_last);
^~~~~~~
....etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions