lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #42636] strtol needs stdlib.h


From: Sergio R. Caprile
Subject: [lwip-devel] [bug #42636] strtol needs stdlib.h
Date: Fri, 27 Jun 2014 16:15:28 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:30.0) Gecko/20100101 Firefox/30.0

URL:
  <http://savannah.nongnu.org/bugs/?42636>

                 Summary: strtol needs stdlib.h
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: scaprile
            Submitted on: Fri 27 Jun 2014 01:15:27 PM ART
                Category: Contrib
                Severity: 3 - Normal
              Item Group: Compiler Warning
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head

    _______________________________________________________

Details:

gcc does not complain, but Keil on ARM does, and afaik strtol() belongs to
stdlib, so...

´´
--- a/apps/smtp/smtp.c
+++ b/apps/smtp/smtp.c
@@ -34,6 +34,7 @@
 #include "lwip/dns.h"

 #include <string.h>
+#include <stdlib.h>

 /** This is simple SMTP client for raw API.
  * It is a minimal implementation of SMTP as specified in RFC 5321.
´´





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?42636>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]