From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 16 19:40:24 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B020216A4CE for ; Thu, 16 Sep 2004 19:40:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A358F43D46 for ; Thu, 16 Sep 2004 19:40:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i8GJeOrI053916 for ; Thu, 16 Sep 2004 19:40:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8GJeOKN053915; Thu, 16 Sep 2004 19:40:24 GMT (envelope-from gnats) Date: Thu, 16 Sep 2004 19:40:24 GMT Message-Id: <200409161940.i8GJeOKN053915@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Giorgos Keramidas Subject: Re: misc/71760: c++ ignoring inlcuded varibles in include file X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Giorgos Keramidas List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2004 19:40:24 -0000 The following reply was made to PR misc/71760; it has been noted by GNATS. From: Giorgos Keramidas To: Christopher Joyner Cc: bug-followup@freebsd.org Subject: Re: misc/71760: c++ ignoring inlcuded varibles in include file Date: Wed, 15 Sep 2004 22:40:54 +0300 On 2004-09-15 11:07, Christopher Joyner wrote: > when c++ compiles a cpp file, a varible included in a include file > is not being defined. it says the varible is undefined. > this happens with SDL.h and mikmod.h Can you post a minimal pair of header and .cpp files that exhibits the behavior you describe? Perhaps it's a bug in the way the header and the source that includes it are written.