Jim LaGrone <jlagr...@cs.uh.edu> wrote on 10/24/2009 06:27:05 PM: > Not sure why, but the C++ backend seems to be more problematic than > Java. I'm using the binary in Ubuntu Linux for Intel. I get the > following: > > ubuntu:src-par$ x10c++ -d ../bin2 -MAIN_CLASS=RUN_knowledgeFormation > *.x10 -commandlineonly -O > x10c++: /home/jlagrone/x10-1.7.6/include/x10aux/bootstrap.h: In > function ‘int x10aux::template_main(int, char**) [with Runtime = > x10::runtime::Runtime, T = RUN_knowledgeFormation]’: > RUN_knowledgeFormation.cc:15: instantiated from here > /home/jlagrone/x10-1.7.6/include/x10aux/bootstrap.h:104: warning: > format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘x10_int’ > /home/jlagrone/x10-1.7.6/include/x10aux/bootstrap.h:113: warning: > format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘x10_int’ > /home/jlagrone/x10-1.7.6/include/x10aux/bootstrap.h:126: warning: > format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘x10_int’ > 1 error. > > > Anyone know what the problem might be?
Jim, There's an unfortunate idiosyncracy in 1.7 that makes it treat any post-compiler output as errors. In fact, your compilation has completed successfully, and you have an executable. The messages you got were just warnings, and can be ignored. This will be fixed in 1.7.7 and in the upcoming 2.0 release. Igor -- Igor Peshansky (note the spelling change!) IBM T.J. Watson Research Center XJ: No More Pain for XML's Gain (http://www.research.ibm.com/xj/) X10: Parallel Productivity and Performance (http://x10.sf.net/) ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users