misc/71760: c++ ignoring inlcuded varibles in include file
Christopher Joyner
weasal at hq.dyns.cx
Wed Sep 15 04:10:19 PDT 2004
>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:
More information about the freebsd-bugs
mailing list