Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!uunet!ispd-newsserver!ism.isc.com!bud.sos.ivy.isc.com!willcr From: willcr@bud.sos.ivy.isc.com (Will Crowder) Newsgroups: comp.lang.c Subject: Re: What the hell does this mean?? Message-ID: <1991Mar08.001612.1385@ism.isc.com> Date: 8 Mar 91 00:16:12 GMT References: <6117@mahendo.Jpl.Nasa.Gov> Sender: usenet@ism.isc.com (Ism Usenet News) Reply-To: willcr@ism.isc.com Followup-To: comp.lang.c Organization: Interactive Systems Corp. Lines: 30 In article <6117@mahendo.Jpl.Nasa.Gov>, robert@nereid.jpl.nasa.gov (Robert Angelino) writes: |> Hello fellow C programmers, |> I have a small problem: |> |> I keep getting this error |> "spa_tclkutc.c", line 130: unacceptable operand of & |> |> on this line |> |> (void) sscanf(ptr,"%04d",&(primary.utc.dy)); |> |> Does anyone know what this means, I'm at my frustration limit.. |> |> Thanks in advance. This usually indicates trying to take the address of a register variable. In this case, that seems a little strange, given that you're taking the address of a member of a struct which is a member of another struct. Is there some "interesting" #defining or something going on? (In the future, it would help if you would give more details regarding the compiler, system, and data types involved. In this case, the declaration for primary.utc.dy is probably the key.) Hope this helps, Will