Closed robtaylor closed 1 year ago
currentyly get these kind of errors on latest gcc: ../lefdef/src/def/def/defiSlot.cpp:225:15: warning: ignoring return value of ‘int asprintf(char*, const char, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 225 | asprintf (&msg, "ERROR (DEFPARS-6160): The index number %d specified for the SLOT RECTANGLE is invalid.\nValid index number is from 0 to %d. Specify a valid index number and then try again.",
Given that we don't usually check for malloc failing, i think probably best to squash these warnings. What do you think @jpc-lip6 ?
Various code cleanups, including fixes for mac