[torquedev] [PATCH] Torque 2.2.0 fails to build on amd64 withgcc-4.2

Craig Macdonald craigm at dcs.gla.ac.uk
Fri Nov 2 09:42:59 MDT 2007


Has 2.2.0 been released? It is in the downloads folder, but a newer snapshot exists.

C

-----Original Message-----
From: torquedev-bounces at supercluster.org on behalf of Adrian Knoth
Sent: Fri 11/2/2007 1:53 PM
To: torquedev at supercluster.org
Subject: [torquedev] [PATCH] Torque 2.2.0 fails to build on amd64 withgcc-4.2
 
Hi!

Torque-2.2.0 (and probably other versions) fails to compile with gcc-4.2
on amd64:

FILE64_SOURCE -c parse.c  -fPIC -DPIC -o .libs/parse.o
cc1: warnings being treated as errors
parse.c: In function 'init_config':
parse.c:338: warning: cast from pointer to integer of different size
make[4]: *** [parse.lo] Error 1
make[4]: Leaving directory `/tmp/torque-2.2.0/src/scheduler.cc/samples/fifo'


The attached patch corrects this problem.


-- 
mail: adi at thur.de  	http://adi.thur.de	PGP/GPG: key via keyserver

Q: Was passiert, wenn eine deutsche Blondine nach Österreich auswandert?
A: In beiden Ländern steigt der durchschnittliche IQ. (aus de.talk.jokes)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torquedev/attachments/20071102/ea0c1ab6/attachment.html


More information about the torquedev mailing list