Changeset: 0fcb42042226 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0fcb42042226 Modified Files: MonetDB5/src/scheduler/run_octopus.mx Branch: Oct2010 Log Message:
circumvent potential bug(?) in clang 2.8 on 64-bit Fedora 14: With declaration int i; following declaration and initialization char buf[BUFSIZ]= "*/octopus", *s= buf; clang complains about " /tmp/cc-94tbJ7.s: Assembler messages: /tmp/cc-94tbJ7.s:2712: Error: junk at end of line, first unrecognized character is `0' clang: error: assembler command failed with exit code 1 (use -v to see invocation) " (and the generated assembly code indeed looks "strange"; however, with the order reversed, i.e., int i; preceeding char buf[BUFSIZ]= "*/octopus", *s= buf; compilation works fine. diffs (13 lines): diff -r 7025b1ade639 -r 0fcb42042226 MonetDB5/src/scheduler/run_octopus.mx --- a/MonetDB5/src/scheduler/run_octopus.mx Tue Dec 07 19:21:01 2010 +0100 +++ b/MonetDB5/src/scheduler/run_octopus.mx Tue Dec 07 19:31:52 2010 +0100 @@ -243,8 +243,8 @@ BUN p,q; str msg = MAL_SUCCEED; BATiter bi; + int i; char buf[BUFSIZ]= "*/octopus", *s= buf; - int i; nrworkers = 0; octopusLocal = 0; _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list