public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Simon Wunderlich <sw@simonwunderlich.de>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] [PATCH] alfred: Enable _GNU_SOURCE by default
Date: Fri, 14 Oct 2016 15:33:35 +0200	[thread overview]
Message-ID: <11536441.PBqhyhFjMe@prime> (raw)
In-Reply-To: <20160923143557.30828-1-sven@narfation.org>

[-- Attachment #1: Type: text/plain, Size: 870 bytes --]

On Friday, September 23, 2016 4:35:57 PM CEST Sven Eckelmann wrote:
> alfred uses any netlink library which is (more or less) compatible with
> libnl-3. This is for example libnl-tiny on OpenWrt.
> 
> Programs and libraries which are build against libnl-tiny must be build
> with _GNU_SOURCE enabled to have some types in its headers defined. Thus
> _GNU_SOURCE is enabled in the OpenWrt alfred package since 2016.3. But
> sometimes using _GNU_SOURCE and sometimes not using it can have severe side
> effects which are non-trivial to debug when the developer is not also using
> the same _GNU_SOURCE preprocessor define. Thus enable _GNU_SOURCE by
> default to have similar behavior (defines, type definitions, structure
> members, ...) from headers like on OpenWrt.
> 
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Applied in revision 415ebc7

Thanks!
     Simon

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

      reply	other threads:[~2016-10-14 13:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-23 14:35 [B.A.T.M.A.N.] [PATCH] alfred: Enable _GNU_SOURCE by default Sven Eckelmann
2016-10-14 13:33 ` Simon Wunderlich [this message]

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=11536441.PBqhyhFjMe@prime \
    --to=sw@simonwunderlich.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.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