DiamondLightSource/pmac

Compile error on CentOS7

Closed this issue · 2 comments

When building on CentOS7, the following compiler error occurs:

../devPmacRam.c: In function ‘devPmacRamEvent_read’: ../devPmacRam.c:1064:13: error: incompatible types when assigning to type ‘char[40]’ from type ‘short int’ pRec->val = (short) (0x0000ffff & pDpvt->dpramData.ramLong);
I will submit a pull request for review to (hopefully) address this.

See my comments in #71

fixed in PR #72, thanks Wayne.