cc  -c energy.c
cc: Warning: build.h, line 46: The redefinition of the macro "MAX" conflicts with a current definition because the spelling of one or more parameters is different.  The redefinition is now in effect. (macroredef)
#define MAX(x,y)           ((x) > (y) ? (x) : (y))
------------^
cc: Warning: build.h, line 47: The redefinition of the macro "MIN" conflicts with a current definition because the spelling of one or more parameters is different.  The redefinition is now in effect. (macroredef)
#define MIN(x,y)           ((x) < (y) ? (x) : (y))
------------^
cc: Warning: energy.c, line 247: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  h = allocate_2d_array(3, 3, sizeof(double));
--^
cc: Warning: energy.c, line 248: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  atom_coords = allocate_2d_array(8*n_atoms, 3, sizeof(double));
--^
cc: Warning: energy.c, line 321: In this statement, "gfopen(...)" of type "int", is being converted to "pointer to struct declared without a tag". (cvtdiftypes)
  f_dist = gfopen("pe_hist.dat", "w");
--^
cc: Warning: energy.c, line 352: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
    *scaled_atom_coords = allocate_2d_array(n_atoms,
----^
cc: Warning: energy.c, line 354: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *rel_atom_coords = allocate_2d_array(n_atoms, 3, sizeof(double));
--^
cc: Warning: energy.c, line 363: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *mol_coords = allocate_2d_array(n_mols, 3, sizeof(double));
--^
cc: Warning: energy.c, line 365: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
    *scaled_mol_coords = allocate_2d_array(n_mols, 3,
----^
cc: Warning: energy.c, line 370: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *h_inv = allocate_2d_array(3, 3, sizeof(double));
--^
cc: Warning: energy.c, line 386: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *atom_move = allocate_2d_array(n_atoms, 3, sizeof(double));
--^
cc: Warning: energy.c, line 402: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *vdw_s = allocate_2d_array(n_atoms, NDIM, sizeof(double));
--^
cc: Warning: energy.c, line 403: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *at_stress_vdw_s = allocate_2d_array(NDIM, NDIM, sizeof(double));
--^
cc: Warning: energy.c, line 404: In this statement, the referenced type of the pointer value "allocate_2d_array(...)" is "pointer to void", which is not compatible with "pointer to double". (ptrmismatch)
  *mol_stress_vdw_s = allocate_2d_array(NDIM, NDIM, sizeof(double));
--^
cc: Warning: energy.c, line 178: The scalar variable "vdw_switch" is fetched but not initialized. (uninit1)
  read_set_up_pot(pot_file, vdw_switch, vdw_rad_switch, atm_type, n_type,
----------------------------^
cc -fast -o energy energy.o allocate.o io_energy.o io_ff_pair.o  utilities.o pot_ff.o  init_simu_pair.o nr.o nrutil.o scan.o center_of_mass.o  cells_phantom.o compute_potential.o  parse_pot.o select_potential.o force_wca_phantom.o -lm
