Snippets for abinit 10.8.1 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/abinit/10.8.1_1/150amd64-default.log.
-
effpot_xml.c:199:33: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 199 | insertArray(&typat,strtod(uri,NULL)); | ^~~ -
effpot_xml.c:287:24: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 287 | *energy = strtod(key, NULL); | ^~~ -
effpot_xml.c:292:20: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 292 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:305:20: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 305 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:318:20: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 318 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:334:30: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 334 | if(abs(amu[i]-strtod(uri,NULL))<1e-5){ | ^~~ -
effpot_xml.c:334:12: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 334 | if(abs(amu[i]-strtod(uri,NULL))<1e-5){ | ^ -
effpot_xml.c:341:26: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 341 | amu[iamu]=strtod(uri,NULL); | ^~~ -
effpot_xml.c:348:30: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 348 | if(abs(amu[i]-strtod(uri,NULL))<1e-5){ | ^~~ -
effpot_xml.c:348:12: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 348 | if(abs(amu[i]-strtod(uri,NULL))<1e-5){ | ^ -
effpot_xml.c:362:26: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 362 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:372:26: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 372 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:397:26: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 397 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:413:26: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 413 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:434:26: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 434 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:450:26: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 450 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:471:26: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 471 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:481:26: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 481 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:491:26: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 491 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:632:18: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 632 | if (strtod(uri,NULL) == *voigt){ | ^~~ -
effpot_xml.c:696:15: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 696 | if(atoi(uri) == *voigt){ | ^~~ -
effpot_xml.c:699:20: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 699 | if (atoi(uri)<=12) { | ^~~ -
effpot_xml.c:702:28: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 702 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:714:28: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 714 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:726:28: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 726 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:744:34: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 744 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:760:34: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 760 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:867:38: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 867 | coefficient[icoeff] = strtod(uri,NULL); | ^~~ -
effpot_xml.c:879:42: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 879 | weight[iterm][icoeff] = strtod(uri2,NULL); | ^~~~ -
effpot_xml.c:889:56: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 889 | atindx[idisp][0][iterm][icoeff] = strtod(uri2,NULL); | ^~~~ -
effpot_xml.c:893:56: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 893 | atindx[idisp][1][iterm][icoeff] = strtod(uri2,NULL); | ^~~~ -
effpot_xml.c:898:25: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 898 | if(strcmp(uri2,"x") == 0){direction[idisp][iterm][icoeff] = 1;} | ^~~~ -
effpot_xml.c:899:25: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 899 | if(strcmp(uri2,"y") == 0){direction[idisp][iterm][icoeff] = 2;} | ^~~~ -
effpot_xml.c:900:25: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 900 | if(strcmp(uri2,"z") == 0){direction[idisp][iterm][icoeff] = 3;} | ^~~~ -
effpot_xml.c:905:57: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 905 | power_disp[idisp][iterm][icoeff] = strtod(uri2,NULL); | ^~~~ -
effpot_xml.c:912:32: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 912 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:922:32: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 922 | pch = strtok(key,"\t \n"); | ^~~ -
effpot_xml.c:936:61: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 936 | power_strain[istrain][iterm][icoeff] = strtod(uri2,NULL); | ^~~~ -
effpot_xml.c:939:55: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 939 | strain[istrain][iterm][icoeff] = strtod(uri2,NULL); | ^~~~ -
effpot_xml.c:1086:29: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1086 | uri = xmlGetProp(cur, name_attributes); | ^~~~~~~~~~~~~~~