[GEM-dev] pix_videoDS.cpp - compilation woes

Thoralf Schulze thoralf_schulze at yahoo.de
Thu Jul 7 15:19:31 CEST 2005


Hi again,

I hope I don't bother you too much :-)

The weird NULL pointer issue in pix_videoDS.cpp still
exists. This file includes memory, which in turn
includes stl_algobase.h, which includes iosfwd, which
finally includes c++locale.h. When this header file
gets processed, g++ chokes on a suddenly missing NULL
pointer definition, which causes loads of " expected
primary-expression before ')' token "-errors whenever
such a pointer is subsequently used. I don't know if
gcc or the mingw port or the dev-c++ ide is to blame -
after all, I'm not a c-programmer. Defining the NULL
pointer explicitly at the beginning of pix_videoDS.cpp
doesn't help.
I could either replace all occurencies of NULL to 0 or
add a #undef 0 \n#define NULL 0 to every file
concerned, but I get the feeling that this is not the
right way of dealing with this issue ...

I really appreciate any hints,
thoralf.


		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com




More information about the GEM-dev mailing list