id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,port 62917,h4h5tools @2.2.3_10: error: implicit declaration of function 'close' is invalid in C99,cooljeanius,kencu,"Another victim of `-Werror=implicit-function-declaration` being on by default now: {{{ /usr/bin/clang -DPACKAGE_NAME=\""H4H5Tools\"" -DPACKAGE_TARNAME=\""h4h5tools\"" -DPACKAGE_VERSION=\""2.2.3\"" -DPACKAGE_STRING=\""H4H5Tools\ 2.2.3\"" -DPACKAGE_BUGREPORT=\""help@hdfgroup.org\"" -DPACKAGE_URL=\""\"" -DPACKAGE=\""h4h5tools\"" -DVERSION=\""2.2.3\"" -DSTDC_HEADERS=1 -DHAVE_HDF5_H=1 -DHAVE_LIBHDF5=1 -DHAVE_LIBHDF5_HL=1 -DHAVE_LIBGCTP=1 -DHAVE_LIBHDFEOS=1 -I. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk -I/opt/local/include -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk -arch x86_64 -MT h4toh5eos.o -MD -MP -MF .deps/h4toh5eos.Tpo -c -o h4toh5eos.o h4toh5eos.c H4TOH5I.c:250:14: warning: overflow in expression; result is 2147483647 with type 'int' [-Winteger-overflow] new_id = H4TOH5I_MAKE(grp, grp_ptr->nextid); ^ H4TOH5I.c:106:21: note: expanded from macro 'H4TOH5I_MAKE' ((hid_t)(i)&ID_MASK)) ^ H4TOH5I.c:85:31: note: expanded from macro 'ID_MASK' #define ID_MASK ((1<nextid > (h4toh5_uint)ID_MASK) { ^ H4TOH5I.c:85:31: note: expanded from macro 'ID_MASK' #define ID_MASK ((1<reserved; inextid>(h4toh5_uint)ID_MASK) { ^ H4TOH5I.c:85:31: note: expanded from macro 'ID_MASK' #define ID_MASK ((1<nextid); ^ H4TOH5I.c:106:21: note: expanded from macro 'H4TOH5I_MAKE' ((hid_t)(i)&ID_MASK)) ^ H4TOH5I.c:85:31: note: expanded from macro 'ID_MASK' #define ID_MASK ((1<=(h4toh5_uint)ID_MASK) { ^ H4TOH5I.c:85:31: note: expanded from macro 'ID_MASK' #define ID_MASK ((1<= width of type [-Wshift-count-overflow] new_id = H4TOH5I_MAKE(grp, grp_ptr->nextid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H4TOH5I.c:106:21: note: expanded from macro 'H4TOH5I_MAKE' ((hid_t)(i)&ID_MASK)) ^~~~~~~ H4TOH5I.c:85:21: note: expanded from macro 'ID_MASK' #define ID_MASK ((1<= width of type [-Wshift-count-overflow] if (grp_ptr->nextid > (h4toh5_uint)ID_MASK) { ^~~~~~~ H4TOH5I.c:85:21: note: expanded from macro 'ID_MASK' #define ID_MASK ((1<= width of type [-Wshift-count-overflow] for (i=grp_ptr->reserved; i= width of type [-Wshift-count-overflow] if (grp_ptr->nextid>(h4toh5_uint)ID_MASK) { ^~~~~~~ H4TOH5I.c:85:21: note: expanded from macro 'ID_MASK' #define ID_MASK ((1<= width of type [-Wshift-count-overflow] next_id = H4TOH5I_MAKE(grp, grp_ptr->nextid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H4TOH5I.c:106:21: note: expanded from macro 'H4TOH5I_MAKE' ((hid_t)(i)&ID_MASK)) ^~~~~~~ H4TOH5I.c:85:21: note: expanded from macro 'ID_MASK' #define ID_MASK ((1<= width of type [-Wshift-count-overflow] if (i>=(h4toh5_uint)ID_MASK) { ^~~~~~~ H4TOH5I.c:85:21: note: expanded from macro 'ID_MASK' #define ID_MASK ((1<