Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-03-13 00:38:51 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-03-13 00:38:51 +0300
commitf0316e0ea21fa5d5101cfa02b405f3c500e7afae (patch)
tree7c3fed08e663b92025cae2b6620a2e92584dd68a /intern
parent3444d6612a525b879857c60d49165efb01f77529 (diff)
oddly enough this printf was the only problem compiling blender with GCC 4.3
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_SystemX11.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp b/intern/ghost/intern/GHOST_SystemX11.cpp
index cfd77e5cef1..55881b1f007 100644
--- a/intern/ghost/intern/GHOST_SystemX11.cpp
+++ b/intern/ghost/intern/GHOST_SystemX11.cpp
@@ -95,6 +95,9 @@
#include <unistd.h>
#include <vector>
+
+#include <stdio.h> // for fprintf only
+
//these are for copy and select copy
static char *txt_cut_buffer= NULL;
static char *txt_select_buffer= NULL;
@@ -1033,7 +1036,7 @@ GHOST_TInt8 *buffer, int flag) const
XSetSelectionOwner(m_display, Primary_atom, m_window, CurrentTime);
owner = XGetSelectionOwner(m_display, Primary_atom);
if (owner != m_window)
- printf("failed to own primary\n");
+ fprintf(stderr, "failed to own primary\n");
return;
}