dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: Keunhong Lee <dlrmsghd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "dev-VfR2kkLFssw@public.gmane.org" <dev-VfR2kkLFssw@public.gmane.org>
Subject: Bugs in newest patches
Date: Fri, 7 Nov 2014 05:21:33 +0900	[thread overview]
Message-ID: <CAKBXKmBUgTBWvMnQEfE_nms7p9v32edwa2V2oVuwZrx+ZRhPrA@mail.gmail.com> (raw)

Hi.
I just pulled new patches from the master branch, and found that it doesn't
work with C++.

in  lib/librte_eal/common/include/generic/rte_cycles.h
missing opening extern "C" in
commit fa4001c30ee9d9ecfb3ca5d93d68ef0394e9950a

here is the fix.

-----

  * Simple Time Reference Functions (Cycles and HPET).
  */

+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <stdint.h>
 #include <rte_debug.h>
 #include <rte_atomic.h>

----

Keunhong.

             reply	other threads:[~2014-11-06 20:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-06 20:21 Keunhong Lee [this message]
     [not found] ` <CAKBXKmBUgTBWvMnQEfE_nms7p9v32edwa2V2oVuwZrx+ZRhPrA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-06 21:05   ` Bugs in newest patches Thomas Monjalon
2014-11-07  1:26     ` Keunhong Lee
     [not found]       ` <CAKBXKmD7qRTHU-VmdNMAvpTnAAMuD5ZxTqoj5VUr3v4FKa6XTw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-07  6:14         ` David Marchand
2014-11-07  6:26   ` [PATCH] eal: fix C++ compilation issue after headers rework David Marchand
     [not found]     ` <1415341580-28210-1-git-send-email-david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2014-11-07 11:21       ` Thomas Monjalon

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=CAKBXKmBUgTBWvMnQEfE_nms7p9v32edwa2V2oVuwZrx+ZRhPrA@mail.gmail.com \
    --to=dlrmsghd-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).