search for: feature_test_macros

Displaying 3 results from an estimated 3 matches for "feature_test_macros".

2014 Sep 27
0
[PATCH] define _DEFAULT_SOURCE for glibc-2.20
...place?". Commit 1769d57c94d7a965168b72b6fd8d48251710b452 at tag syslinux-2.00-pre8 (which I'd guess is actually from CVS import) states "Make the syslinux installer be setuid safe (we hope...)". In lieu of HPA voicing up with a more definitive answer and in light of the manpage FEATURE_TEST_MACROS(7): "To allow code that requires _BSD_SOURCE in glibc 2.19 and earlier and _DEFAULT_SOURCE in glibc 2.20 and later to compile without warnings, define both _BSD_SOURCE and _DEFAULT_SOURCE."[1] I'd vote for this additional definition for now. [1]: http://man7.org/linux/man-pages/ma...
2014 Sep 25
2
[PATCH] define _DEFAULT_SOURCE for glibc-2.20
Hi, > -----Original Message----- > From: Ferenc Wagner [mailto:wferi at niif.hu] > Sent: Thursday, September 25, 2014 4:42 PM > To: Chanho Park > Cc: syslinux at zytor.com > Subject: Re: [syslinux] [PATCH] define _DEFAULT_SOURCE for glibc-2.20 > > Chanho Park <chanho61.park at samsung.com> writes: > > > _BSD_SOURCE was deprecated in favour of
2011 May 15
2
Compilation problem with linux/falloc.h include in rsync.h
.../conftest mulander at bunkier_mysli:~/code/blog/lac$ echo $? 0 Adding an include to linux/falloc.h of course results in a failing compilation. I checked the man 2 fallocate page for my system and the synopsis sections provides the following: SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <fcntl.h> int fallocate(int fd, int mode, off_t offset, off_t len); Adding the #define _GNU_SOURCE preprocessor directive removes the compilation warning - the code still passes. I tracked down the change that introduced the problematic include and it can be fo...