6 #define MSG_ERR(MSGP,STRING,A1,A2,A3,A4,A5) \
7 MSG_ERR_LOCAL(MSGP, __FILE__, STRING, __LINE__, A1, A2, A3, A4, A5)
14 #if defined(__linux__) || defined(__APPLE__)
15 inline void MSG_ERR_LOCAL(
ic_msg *msg,
25 char *c = (
char *)&msg->ld;
28 sprintf(buff,
"%ld|%s|",line,file);
30 sprintf(&buff[i], str, a1, a2, a3, a4, a5);
32 for(
int i=0;i<107;i+=4)
34 #ifdef RTS_LITTLE_ENDIAN
48 msg->head.valid_words = (strlen(c) + 7) / 4;
51 inline void MSG_ERR_LOCAL(
ic_msg *msg,
61 char *c = (
char *)&msg->ld;
64 sprintf(buff,
"%d|%s|",line,file);
66 sprintf(&buff[i], str, a1, a2, a3, a4, a5);
70 msg->head.valid_words = (strlen(c) + 7) / 4;