All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gopal Kalita <gopal.kalita@gmail.com>
To: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH v4] safe_macros: add SAFE_STRTOL
Date: Fri, 16 Mar 2012 02:58:54 -0700 (PDT)	[thread overview]
Message-ID: <33516012.post@talk.nabble.com> (raw)
In-Reply-To: <1328793121-20852-1-git-send-email-caspar@casparzhang.com>


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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  parent reply	other threads:[~2012-03-16  9:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-09  8:13 [LTP] [PATCH] safe_macros: add SAFE_STRTOL Caspar Zhang
2012-02-09  9:30 ` Wanlong Gao
2012-02-09  9:45   ` Caspar Zhang
2012-02-09  9:46 ` [LTP] [PATCH v2] " Caspar Zhang
2012-02-09 10:00   ` Wanlong Gao
2012-02-09 10:28     ` Cyril Hrubis
2012-02-09 10:53 ` [LTP] [PATCH v3] " Caspar Zhang
2012-02-09 12:53   ` Cyril Hrubis
2012-02-09 13:12 ` [LTP] [PATCH v4] " Caspar Zhang
2012-02-09 13:59   ` Cyril Hrubis
2012-03-16  9:58   ` Gopal Kalita [this message]
2012-03-20  8:49     ` Caspar Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=33516012.post@talk.nabble.com \
    --to=gopal.kalita@gmail.com \
    --cc=ltp-list@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.