[4180] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[barnowl/barnowl] 0480ee: Define _DEFAULT_SOURCE in addition to

daemon@ATHENA.MIT.EDU (GitHub)
Thu Jan 18 05:25:16 2018

Date: Sat, 30 Dec 2017 22:57:34 -0800
From: GitHub <noreply@github.com>
Reply-To: GitHub <noreply@github.com>
To: barnowl-dev@mit.edu


----==_mimepart_5a488a5e5184a_2b282ab98b491c08737a
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

  Branch: refs/heads/master
  Home:   https://github.com/barnowl/barnowl
  Commit: 0480eeffe2f3ad551b49cc43d166a89cd6ac2e33
      https://github.com/barnowl/barnowl/commit/0480eeffe2f3ad551b49cc43d166a89cd6ac2e33
  Author: Anders Kaseorg <andersk@mit.edu>
  Date:   2017-12-23 (Sat, 23 Dec 2017)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Define _DEFAULT_SOURCE in addition to _BSD_SOURCE

Fixes many copies of this warning with glibc 2.20.  (See _BSD_SOURCE
in feature_test_macros(7).)

In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33:0,
           from /usr/include/stdint.h:26,
           from /usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h:9,
           from /usr/include/ncursesw/curses.h:63,
           from owl.h:20,
           from message.c:1:
/usr/include/features.h:183:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~

Signed-off-by: Anders Kaseorg <andersk@mit.edu>



----==_mimepart_5a488a5e5184a_2b282ab98b491c08737a--

home help back first fref pref prev next nref lref last post