Ubuntu LTS 12.04 & pwrsrc 5.0.0-1
While compiling on 12.04 I had a problem with:
Compiling ../../glow_draw_gtk.cpp
../../glow_draw_gtk.cpp: In member function ‘virtual void GlowDrawGtk::image_scale(int, int, glow_tImImage, void**, void**, void**, void**)’:
../../glow_draw_gtk.cpp:2943:5: error: ‘else’ without a previous ‘if’
../../glow_draw_gtk.cpp:2952:1: error: a function-definition is not allowed here before ‘{’ token
../../glow_draw_gtk.cpp:3934:1: error: expected ‘}’ at end of input
make[1]: *** [/home/pwrp/pwrsrc_5.0.0-1/rls/os_linux/hw_x86/bld/lib/glow/glow_draw_gtk.o] Error 1
make[1]: Leaving directory `/home/pwrp/pwrsrc_5.0.0-1/xtt/lib/glow/gtk/.os_linux/.hw_x86'
It seems Ubuntu 12.04 has problems with preprocessor conditionals
check/uncomment: line 2941 from /pwrsrc_5.0.0-1/xtt/lib/glow/gtk/glow_draw_gtk.cpp