From owner-freebsd-current Tue May 19 08:34:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA07920 for freebsd-current-outgoing; Tue, 19 May 1998 08:34:26 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA07904 for ; Tue, 19 May 1998 08:34:17 -0700 (PDT) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id IAA14158; Tue, 19 May 1998 08:33:52 -0700 (PDT) (envelope-from jdp) Message-Id: <199805191533.IAA14158@austin.polstra.com> To: grog@lemis.com Subject: Re: /sys/device.h: warning: 1 trigraph(s) encountered In-Reply-To: <19980519132100.W427@freebie.lemis.com> References: <19980519132100.W427@freebie.lemis.com> Organization: Polstra & Co., Seattle, WA Cc: current@FreeBSD.ORG Date: Tue, 19 May 1998 08:33:52 -0700 From: John Polstra Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <19980519132100.W427@freebie.lemis.com>, Greg Lehey wrote: > Anybody seen the message > > /sys/device.h: warning: 1 trigraph(s) encountered > > in recent builds? It comes from a comment: > > DV_TTY /* serial line interface (???) */ > > The ??? have the form of a trigraph, but for some reason the compiler > complains about them though they're in a comment. That's because the ISO C standard says that the compiler must map trigraphs in phase 1 of the translation, but it doesn't eliminate comments until phase 3. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message