Thread View: comp.sys.ibm.pc.rt
1 messages
1 total messages
Started by Michael Pak
Thu, 28 Jun 1990 09:12
HC problems
Author: Michael Pak
Date: Thu, 28 Jun 1990 09:12
Date: Thu, 28 Jun 1990 09:12
27 lines
1266 bytes
1266 bytes
I have posted already this problem, but for some mysterious reason it didn't
show up. So here it is again:
I have the following piece of code:
----------------------------------
static Arg arg_wh[] = {
{XtNwidth, (XtArgVal) &window_w},
{XtNheight, (XtArgVal) &window_h},
};
----------------------------------
and the 'hc' compiler shouts:
(We use 'hc' version 1.4)
L602/C12: Must be a compile- or load-time computable expression.
With 'pcc' though there are absolutely no problems.
Is there any way to make 'hc' accept this kind of expressions?
Thanks.
*********************************************
Michael Pak
Department of CS, Hebrew University of Jerusalem, Israel.
E-Mail: misha@boojum.huji.ac.il
*********************************************
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads