Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!uakari.primate.wisc.edu!aplcen!uunet!mcsun!unido!ztivax!tumuc!guug!pcsbst! From: roland@cochise.pcs.com (Roland Rambau) Newsgroups: comp.lang.c Subject: Re: common bugs in C programs Message-ID: <1990Feb1.170403.14324@pcsbst.pcs.com> Date: 1 Feb 90 17:04:03 GMT References: <7140.25959377@urchin.fidonet.org> <430009@hpqtdla.HP.COM> Sender: @pcsbst.pcs.com Organization: PCS Computer Systeme, GmbH Lines: 28 malkie@hpqtdla.HP.COM (Malcolm Rix) writes: ->in the common firmware group we have been collecting a list of the most ->frequent problems: ->(1) Misinterpretation of number bases (i.e. 0x12 != 12 or 0x01000 != 8). .... ->(26) Misunderstanding dereferencing of things like *(a->b). my favorite :-) selfmade error: (n+1) Not declaring an external float function as extern _float_ when the returned value is never used ( this doesn't matter e.g. on the vax, but yields a bogus stack when porting e.g. to the apollo :-) I know that You believe You understand what You think I said, but I'm not sure You realize that what You heard is not what I meant. Roland Rambau rra@cochise.pcs.com, {unido|pyramid}!pcsbst!rra, 2:507/414.2.fidonet I know that You believe You understand what You think I said, but I'm not sure You realize that what You heard is not what I meant. Roland Rambau