vata / xarino

Automatically exported from code.google.com/p/xarino
Other
2 stars 0 forks source link

wx2.6-8 compilation issues #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I am having problems compiling the code against wxwidgets 2.8 and 2.6

It looks to just be a change in the management of scope - lwhitemore, when
you compiled it, what steps did it take

this is the error:
ppmfiltr.cpp: At global scope:
ppmfiltr.cpp:152: warning: deprecated conversion from string constant to
‘TCHAR*’
ppmfiltr.cpp:152: warning: deprecated conversion from string constant to
‘TCHAR*’
ppmfiltr.cpp:152: warning: deprecated conversion from string constant to
‘TCHAR*’
ppmfiltr.cpp:152: warning: deprecated conversion from string constant to
‘TCHAR*’
ppmfiltr.cpp:152: warning: deprecated conversion from string constant to
‘TCHAR*’
ppmfiltr.cpp:152: warning: deprecated conversion from string constant to
‘TCHAR*’
ppmfiltr.cpp: In member function ‘BOOL
BasePMFilter::ReadFromFile(CCLexFile*, BITMAPINFO**, BYTE**, String_64*)’:
ppmfiltr.cpp:789: warning: deprecated conversion from string constant to
‘char*’
ppmfiltr.cpp:791: warning: deprecated conversion from string constant to
‘char*’
ppmfiltr.cpp:792: warning: deprecated conversion from string constant to
‘char*’
mv -f .deps/libwxOil_a-ppmfiltr.Tpo .deps/libwxOil_a-ppmfiltr.Po
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"XaraLX\"
-DVERSION=\"0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOIDP=4
-DSIZEOF_LONG_LONG=8 -DSIZEOF_LONG=4 -DSIZEOF_INT=4 -DSIZEOF_SHORT=2
-DSIZEOF___INT64=0 -I.    -Wall -Wno-unknown-pragmas -g -fexceptions -O3
-fno-strict-aliasing  -Wstrict-aliasing=2 
-I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include/libxml2 
-I../PreComp -I../wxOil -I.././Kernel -I.././wxOil -I.././wxOil/Res
-I.././tools -I.././GDraw -I.././PreComp -I.././wxXtra -DUSE_NATIVE_XLONG
-DBUILDSHADOWS -DOLD_MATRIX_TRANSFORMATIONS -DVECTOR_STROKING
-DEXCLUDE_FROM_XARALX -DNEW_SHADOW_RENDER -DNO_XARACMS -DNEW_FEATURES
-DSHOWPORTNOTE -DDO_EXPORT  -MT libwxOil_a-bitmapgriddropdown.o -MD -MP -MF
.deps/libwxOil_a-bitmapgriddropdown.Tpo -c -o
libwxOil_a-bitmapgriddropdown.o `test -f 'bitmapgriddropdown.cpp' || echo
'./'`bitmapgriddropdown.cpp
bitmapgriddropdown.cpp: In member function ‘wxBitmap*
CBGDDCachedItem::GetWxBitmap(wxSize) const’:
bitmapgriddropdown.cpp:299: error: ‘find_if’ was not declared in this scope
make[2]: *** [libwxOil_a-bitmapgriddropdown.o] Error 1
make[2]: Leaving directory `/home/tom/xarino/wxOil'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/tom/xarino/wxOil'
make: *** [all-recursive] Error 1

Original issue reported on code.google.com by tom....@gmail.com on 23 Jan 2009 at 6:19

GoogleCodeExporter commented 9 years ago
rev 19 should fix this (added the include statement as recommended)

Original comment by tom....@gmail.com on 24 Jan 2009 at 12:25