[gmx-users] gromacs3.3.1 compilation error in SGI

Erik Lindahl lindahl at sbc.su.se
Fri Apr 7 11:36:04 CEST 2006


On Apr 7, 2006, at 10:47 AM, David van der Spoel wrote:

> Erik Lindahl wrote:
>> Hi Raja,
>> Try changing the "void" on line 150 to "char". gcc doesn't  
>> complain about this casting even with full warnings, so we missed  
>> one instance.
> Maybe you'd rather need
> pc = (void *)(pc + 8)
> or even better
> pc = &(pc[8])

Nope. We used to do that, but Digital Unix compiler (or something)  
complained about pointer arithmetic on void types - thus the switch  
to char.

It has been changed to char in all the other routines, but I missed  
this one!



More information about the gromacs.org_gmx-users mailing list