misc/71760: c++ ignoring inlcuded varibles in include file
weasal at hq.dyns.cx
Wed Sep 15 04:10:19 PDT 2004
>Synopsis: c++ ignoring inlcuded varibles in include file
>Arrival-Date: Wed Sep 15 11:10:18 GMT 2004
>Originator: Christopher Joyner
>Release: FreeBSD 5.3 BETA 4
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
create a src file with this header
#include "mikmod.h" (or "SDL.h")
try and use one of the included varibles, lik wrap.
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.
i don't know :/
More information about the freebsd-bugs