Date: Fri, 16 Jul 1999 08:30:06 -0700 (PDT) From: Nate Williams <nate@mt.sri.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/12663: Ambiguous if statement. Message-ID: <199907161530.IAA56397@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/12663; it has been noted by GNATS. From: Nate Williams <nate@mt.sri.com> To: adamw@holonet.net Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/12663: Ambiguous if statement. Date: Fri, 16 Jul 1999 09:22:19 -0600 Adam Wight writes: > > >Number: 12663 > >Category: kern > >Synopsis: Ambiguous if statement > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Fri Jul 16 02:40:01 PDT 1999 > >Closed-Date: > >Last-Modified: > >Originator: Adam Wight > >Release: FreeBSD 4.0-CURRENT i386 > >Organization: > >Environment: > all > > >Description: > The file sys/i386/apm/apm.c contains an ambiguous if...else statement > that appears to be parsed correctly by the compiler, but could break > silently depending on the compiler release. No, they could not break silently, as the syntax is guaranteed to be correct by the ANSI-C standard. If it broke, the compiler would be broke and a number of other such code in many systems would also break. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907161530.IAA56397>