Path: utzoo!attcan!uunet!fernwood!decwrl!bacchus.pa.dec.com!shlump.nac.dec.com!e2big.dec.com!decuac!haven!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!uwm.edu!bionet!agate!ucbvax!huji.ac.il!misha From: misha@huji.ac.il (Michael Pak) Newsgroups: comp.sys.ibm.pc.rt Subject: HC problems Message-ID: Date: 28 Jun 90 09:12:35 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: misha@boojum.huji.ac.il Lines: 27 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 *********************************************