All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] xenpaging: remove _XOPEN_SOURCE
@ 2011-12-14 14:08 Roger Pau Monne
  2011-12-15 17:28 ` Ian Jackson
  0 siblings, 1 reply; 8+ messages in thread
From: Roger Pau Monne @ 2011-12-14 14:08 UTC (permalink / raw)
  To: xen-devel

# HG changeset patch
# User Roger Pau Monne <roger.pau@entel.upc.edu>
# Date 1323871725 -3600
# Node ID 3bac38f7a427af3eb9f60db08d0c2394bdf416dc
# Parent  75eff8e03cb4c2e0361cddf2baf6f7719bc76653
xenpaging: remove _XOPEN_SOURCE

The _XOPEN_SOURCE define was breaking the compilation under NetBSD.
I've removed it becasue it is not necessary.

Error message:

gcc  -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing
-std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value
-Wdeclaration-after-statement   -D__XEN_TOOLS__ -MMD -MF
.xenpaging.o.d -fno-optimize-sibling-calls
-I/root/xen-04102011/tools/xenpaging/../../tools/libxc
-I/root/xen-04102011/tools/xenpaging/../../tools/include
-I/root/xen-04102011/tools/xenpaging/../../tools/xenstore
-I/root/xen-04102011/tools/xenpaging/../../tools/include -Werror
-Wno-unused -g  -c -o xenpaging.o xenpaging.c  -I/usr/xen42/include
-I/usr/include
cc1: warnings being treated as errors
xenpaging.c: In function 'xenpaging_init':
xenpaging.c:333: warning: implicit declaration of function 'asprintf'

Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu>

diff -r 75eff8e03cb4 -r 3bac38f7a427 tools/xenpaging/xenpaging.c
--- a/tools/xenpaging/xenpaging.c	Wed Dec 14 13:57:52 2011 +0100
+++ b/tools/xenpaging/xenpaging.c	Wed Dec 14 15:08:45 2011 +0100
@@ -18,7 +18,6 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#define _XOPEN_SOURCE	600
 #define _GNU_SOURCE
 
 #include <inttypes.h>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-12-16  8:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-14 14:08 [PATCH v2] xenpaging: remove _XOPEN_SOURCE Roger Pau Monne
2011-12-15 17:28 ` Ian Jackson
2011-12-15 17:34   ` Roger Pau Monné
2011-12-15 17:36     ` Ian Jackson
2011-12-15 17:40       ` Roger Pau Monné
2011-12-15 17:41         ` Ian Jackson
2011-12-15 18:51   ` Olaf Hering
2011-12-16  8:50     ` Roger Pau Monné

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.