From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 15 11:10:19 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 2AB3716A4CF for ; Wed, 15 Sep 2004 11:10:19 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0337143D1F for ; Wed, 15 Sep 2004 11:10:19 +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 i8FBAIQf010959 for ; Wed, 15 Sep 2004 11:10:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8FBAIeu010958; Wed, 15 Sep 2004 11:10:18 GMT (envelope-from gnats) Resent-Date: Wed, 15 Sep 2004 11:10:18 GMT Resent-Message-Id: <200409151110.i8FBAIeu010958@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christopher Joyner Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA99216A4CE for ; Wed, 15 Sep 2004 11:07:08 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0BE743D5A for ; Wed, 15 Sep 2004 11:07:08 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i8FB76Cq005444 for ; Wed, 15 Sep 2004 11:07:06 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i8FB75Ks005443; Wed, 15 Sep 2004 11:07:05 GMT (envelope-from nobody) Message-Id: <200409151107.i8FB75Ks005443@www.freebsd.org> Date: Wed, 15 Sep 2004 11:07:05 GMT From: Christopher Joyner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/71760: c++ ignoring inlcuded varibles in include file X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 11:10:19 -0000 >Number: 71760 >Category: misc >Synopsis: c++ ignoring inlcuded varibles in include file >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Sep 15 11:10:18 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Christopher Joyner >Release: FreeBSD 5.3 BETA 4 >Organization: none >Environment: not avialable >Description: 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 >How-To-Repeat: create a src file with this header #include "mikmod.h" (or "SDL.h") try and use one of the included varibles, lik wrap. wrap=1; try and compile it with something like this c++ -o problemchecker.o -c problemchecker.cpp -I/usr/local/include it should say compile error wrap undeclaried varible. >Fix: i don't know :/ >Release-Note: >Audit-Trail: >Unformatted: