In the file -- lib/safe_macros.c , the header file errno.h needs to be included. #include <errno.h>
Otherwise, it gives the Following error (while compiling)-- safe_macros.c: In function ‘safe_strtol’: safe_macros.c:350: error: ‘errno’ undeclared (first use in this function) safe_macros.c:350: error: (Each undeclared identifier is reported only once safe_macros.c:350: error: for each function it appears in.) safe_macros.c:352: error: ‘ERANGE’ undeclared (first use in this function) -- View this message in context: http://old.nabble.com/-LTP---PATCH--safe_macros%3A-add-SAFE_STRTOL-tp33291529p33516012.html Sent from the ltp-list mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
