From owner-freebsd-current Wed May 20 00:58:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA11815 for freebsd-current-outgoing; Wed, 20 May 1998 00:58:05 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAB11774 for ; Wed, 20 May 1998 00:57:52 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id RAA21587; Wed, 20 May 1998 17:52:18 +1000 Date: Wed, 20 May 1998 17:52:18 +1000 From: Bruce Evans Message-Id: <199805200752.RAA21587@godzilla.zeta.org.au> To: grog@lemis.com, jdp@polstra.com Subject: Re: /sys/device.h: warning: 1 trigraph(s) encountered Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> 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. Also, there is a trigraph here, namely ??). (???) here gets converted to (?]. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message