#31, removed several host compilation warnings
-
Owner
These two warnings still appear during host compilation (seem to be not so critical):
./host/src/calcenergy.cpp: In function ‘int gen_rotlist(Liganddata*, int*)’: ./host/src/calcenergy.cpp:559:61: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (myligand->atom_rotbonds[atom_id][rotbond_candidate] != 0) //if the atom has to be rotated around current candidate ^ ./host/src/processresult.cpp: In function ‘void make_resfiles(float*, float*, const Liganddata*, const Liganddata*, const Dockpars*, int, int, const Gridinfo*, const float*, float*, const int*, char**, int, int, Ligandresult*)’: ./host/src/processresult.cpp:254:8: warning: unused variable ‘temp_genotype’ [-Wunused-variable] float temp_genotype[GENOTYPE_LENGTH_IN_GLOBMEM]; ^~~~~~~~~~~~~
Please register or sign in to comment