[GEM-dev] #define __BAD_TASTE__

IOhannes m zmoelnig zmoelnig at iem.at
Tue Jan 11 12:59:06 CET 2005


IOhannes m zmölnig wrote:
> Update of /cvsroot/pd-gem/Gem/src/Gnu
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7927
> 
> Modified Files:
> 	configure configure.in 
> Log Message:
> who the f**k used "__NEW__" to enable/disable different film/movie-objects ???
> preprocessor-defines starting with "__" are system only!!
> i have renamed __NEW__ to NEW_VIDEOFILM __FILM __NEW to FILM_NEW and __VIDEO__NEW to VIDEO_NEW
> 
>

trying to make georg's changes run on my machine i went through the code 
a bit and discovered disgusts: back then, when i made my changes to the 
film/video-capturing code i introduced a preprocessor-flag __NEW__ to 
indicate, wheter someone wants the traditional-approach or the 
"multi-driver" approach, ignoring whatever i have ever read about 
preprocessor-defines, namely "defines starting with double-underscore 
(__) are reserved for system-use"

somehow, georg included <new> which does exactly nothing, as __NEW__ is 
already defined.

i have fixed this (still being upset)

günter: according to the changelog.Debian __NEW__ has finally made it 
into the debian-package of gem; sorry for the extra work...


mfg.as.dr
IOhannes





More information about the GEM-dev mailing list