fwd to odp mailing list.

For odp now we do not use gerrit, we use mailing list.

Maxim.


-------- Forwarded Message --------
Subject: Change in lng/odp[master]: Replace deprecated _BSD_SOURCE with _DEFAULT_SOURCE
Date:   Fri, 06 Mar 2015 01:01:04 +0000
From:   Gary Robertson (Code Review) <[email protected]>
Reply-To:       [email protected]
To: Mike Holmes <[email protected]>, Santosh Shukla <[email protected]>, Maxim Uvarov <[email protected]>, Anders Roxell <[email protected]>



Gary Robertson has uploaded a new change for review.

  https://review.linaro.org/4944

Change subject: Replace deprecated _BSD_SOURCE with _DEFAULT_SOURCE
......................................................................

Replace deprecated _BSD_SOURCE with _DEFAULT_SOURCE

Compilation of ODP v1.0 on OpenEmbedded failed due to
the following warning being treated as an error:
| In file included from /usr/include/stdlib.h:24:0,
|                  from odp/example/ipsec/odp_ipsec.c:16:
| /usr/include/features.h:148:3:
| error: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated,
| use _DEFAULT_SOURCE" [-Werror=cpp]
|  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated,
| use _DEFAULT_SOURCE"
|     ^

Modified the source 'example/ipsec/odp_ipsec.c' as recommended.

Change-Id: I3b8fb392611ea3ad35d17a9492637f44d7ca5d2c
Signed-off-by: Gary S. Robertson <[email protected]>
---
M example/ipsec/odp_ipsec.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://review.linaro.org:29418/lng/odp refs/changes/44/4944/1

diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c
index 70cd957..98160ba 100644
--- a/example/ipsec/odp_ipsec.c
+++ b/example/ipsec/odp_ipsec.c
@@ -10,7 +10,7 @@
  * @example odp_example_ipsec.c  ODP basic packet IO cross connect with IPsec 
test application
  */
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
 /* enable strtok */
 #define _POSIX_C_SOURCE 200112L
 #include <stdlib.h>

--
To view, visit https://review.linaro.org/4944
To unsubscribe, visit https://review.linaro.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3b8fb392611ea3ad35d17a9492637f44d7ca5d2c
Gerrit-PatchSet: 1
Gerrit-Project: lng/odp
Gerrit-Branch: master
Gerrit-Owner: Gary Robertson <[email protected]>




_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to