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

Garrick Staples garrick at usc.edu
Fri Nov 2 10:32:05 MDT 2007

On Fri, Nov 02, 2007 at 02:53:54PM +0100, Adrian Knoth alleged:
> 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.

Thanks, checked into trunk.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20071102/fd230903/attachment.bin

More information about the torquedev mailing list