Thanks, Argen!

I also noticed this when compiling tkwin.c...

drivers/tkwin.c:398: warning: assignment makes pointer from integer without a 
cast

This is because XOpenDisplay is not declared in any #included files.  I think 
because I'm on Mac OS X and Tk is not based on X11 on that platform.  I see a 
lot of "#ifdef MAC_TCL" in the source code, but I can't find that being 
#defined (or #undefed) anywhere nor any cmake files that refer to the MAC_TCL 
macro.

Thanks again,
Dave

P.S.  Here's the full command line that make used and the resulting output...

cd /Users/davidm/local/src/plplot/tmp/drivers && /opt/local/bin/gcc  
-Dtkwin_EXPORTS -DHAVE_CONFIG_H -arch i386 -isysroot 
/Developer/SDKs/MacOSX10.6.sdk -fPIC -I/Users/davidm/local/src/plplot/include 
-I/Users/davidm/local/src/plplot/lib/qsastime 
-I/Users/davidm/local/src/plplot/lib/nistcd 
-I/Users/davidm/local/src/plplot/tmp 
-I/Users/davidm/local/src/plplot/tmp/include   
-I/System/Library/Frameworks/Tcl.framework/Headers 
-I/System/Library/Frameworks/Tk.framework/Headers -I/usr/include 
-I"/Users/davidm/local/src/plplot"/bindings/tcl 
-I"/Users/davidm/local/src/plplot/tmp"/bindings/tcl 
-I"/Users/davidm/local/src/plplot"/bindings/tk-x-plat 
-I"/Users/davidm/local/src/plplot"/bindings/tk -DUSINGDLL -o 
CMakeFiles/tkwin.dir/tkwin.c.o   -c 
/Users/davidm/local/src/plplot/drivers/tkwin.c

/Users/davidm/local/src/plplot/drivers/tkwin.c: In function 'plD_open_tkwin':
/Users/davidm/local/src/plplot/drivers/tkwin.c:398: warning: assignment makes 
pointer from integer without a cast
/Users/davidm/local/src/plplot/drivers/tkwin.c: In function 'Init':
/Users/davidm/local/src/plplot/drivers/tkwin.c:946: warning: assignment makes 
pointer from integer without a cast
/Users/davidm/local/src/plplot/drivers/tkwin.c:959: warning: assignment makes 
pointer from integer without a cast
/Users/davidm/local/src/plplot/drivers/tkwin.c: In function 'CreatePixmap':
/Users/davidm/local/src/plplot/drivers/tkwin.c:1235: warning: assignment makes 
pointer from integer without a cast


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to