Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!brutus.cs.uiuc.edu!husc6!m2c!wpi!pawn From: pawn@wpi.wpi.edu (Kevin Goroway) Newsgroups: comp.sys.amiga Subject: Lattice 5.0 problem? Keywords: ansi lattice stuff Message-ID: <4736@wpi.wpi.edu> Date: 13 Oct 89 17:13:01 GMT Organization: Worcester Polytechnic Institute, Worcester, Mass. Lines: 32 Is Lattice 5.0 supposed to be able to handle this? int main(void); void testfunction(float); main() { testfunction(640.0); } testfunction(float num) <---- this in particular { printf("it was %f\n",num); } because it doesn't. But testfunction(num) float num; { works just fine. If it isn't supposed to handle it, then why doesn't it complain? -- +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= | Worcester Polytechnic Institute | "It happens sometimes, people just | | Pawn@wpi.wpi.edu Pawn@wpi.bitnet | explode, natural causes."-Repo Man | +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=