Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!udel!mmdf From: HBO043%DJUKFA11.BITNET@cunyvm.cuny.edu (Christoph van Wuellen) Newsgroups: comp.os.minix Subject: C SYNTAX QUESTION Message-ID: <16304@nigel.udel.EDU> Date: 9 Apr 90 20:50:20 GMT Sender: mmdf@udel.EDU Lines: 17 somenone pointed out that with my recetly posted C-compiler, the funcion test(a) char a; { write (1,&a,1); } passes a pointer to an integer to write (since a is really an integer) write emits something else than you'd expected - it is easy to ,,fix'' in the compiler, BUT WHAT ABOUT test(a) float a; { test1(&a); } This certainly passes a pointer to a double, and this can't be changed. So I ask the C Syntax experts - what do you think a compiler should do in both cases? C.v.W.