for (unsigned int i = 0; i < array.GetCount(); ++i)
{
out << array[i];
if (i < array.GetCount() - 1)
out << separator;
}
the change in this function is ok though, but it's client probably appends even more and that one should insert/append a space
wxString GetStringFromArray(const wxArrayString& array, const wxString& separator)
EX : This/is/a/test
==>"This is a test"
[before the change you would get : "This is a test "] -> silly to add a space at the end, just for fun ;-)
we'll go for the quick way --> putting the trailing space back ;-)
/bin/sh ../../../libtool --tag=CXX --mode=link g++ -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -o auto_revision autorevision.o ../../base/tinyxml/libtinyxml.la -lpthread -ldl
mkdir .libs
g++ -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -o auto_revision autorevision.o ../../base/tinyxml/.libs/libtinyxml.a -lpthread -ldl
./auto_revision +int +wx +t ../../.. ../../../src/include/autorevision.h
make[3]: quittant le répertoire « /home/docwario/src_CodeBlocks/4491/src/build_tools/autorevision »
make[3]: entrant dans le répertoire « /home/docwario/src_CodeBlocks/4491/src/build_tools »
make[3]: Rien à faire pour « all-am ».
make[3]: quittant le répertoire « /home/docwario/src_CodeBlocks/4491/src/build_tools »
make[2]: quittant le répertoire « /home/docwario/src_CodeBlocks/4491/src/build_tools »
Making all in include
make[2]: entrant dans le répertoire « /home/docwario/src_CodeBlocks/4491/src/include »
make[2]: *** Pas de règle pour fabriquer la cible « xtra_classes.h », nécessaire pour « ../../src/include/sdk_precomp.h.gch ». Arrêt.
make[2]: quittant le répertoire « /home/docwario/src_CodeBlocks/4491/src/include »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/docwario/src_CodeBlocks/4491/src »
make: *** [all-recursive] Erreur 1