I have tried to compile my regular saturday morning aMule build, however it fails on a missing file somewhere:
flex: can't open Scanner.cpp
g++: ./Scanner.cpp: No such file or directory
g++: no input files
make[4]: *** [libmuleappcore_a-Scanner.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
However, other then this, and since this is also reported in another thread, there is something else that puzzles me. Last weeks CVS 20051126 gave a lot of compiler warnings, but did complete. Todays CVS 20051203 gives the same warnings:
/usr/include/wx-2.6/wx/defs.h:625:5: warning: "wxUSE_COMPATIBLE_COORD_TYPES" is not defined
In file included from /usr/include/wx-2.6/wx/datetime.h:38,
from /usr/include/wx-2.6/wx/filename.h:39,
from FileFunctions.cpp:26:
/usr/include/wx-2.6/wx/dynarray.h: In member function `int wxArrayShort::Index(short int, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayShort::Add(short int, unsigned int)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayShort::Insert(short int, unsigned int, unsi
gned int)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayShort::Remove(short int)':
/usr/include/wx-2.6/wx/dynarray.h:963: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `int wxArrayInt::Index(int, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayInt::Add(int, unsigned int)':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayInt::Insert(int, unsigned int, unsigned int
)':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayInt::Remove(int)':
/usr/include/wx-2.6/wx/dynarray.h:964: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `int wxArrayLong::Index(long int, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayLong::Add(long int, unsigned int)':
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayLong::Insert(long int, unsigned int, unsign
ed int)':
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayLong::Remove(long int)':
/usr/include/wx-2.6/wx/dynarray.h:965: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `int wxArrayPtrVoid::Index(void*, bool) const':
/usr/include/wx-2.6/wx/dynarray.h:966: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayPtrVoid::Add(void*, unsigned int)':
/usr/include/wx-2.6/wx/dynarray.h:966: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayPtrVoid::Insert(void*, unsigned int, unsign
ed int)':
/usr/include/wx-2.6/wx/dynarray.h:966: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/dynarray.h: In member function `void wxArrayPtrVoid::Remove(void*)':
/usr/include/wx-2.6/wx/dynarray.h:966: warning: declaration of `Item' shadows a member of `this'
In file included from /usr/include/wx-2.6/wx/filename.h:39,
from FileFunctions.cpp:26:
/usr/include/wx-2.6/wx/datetime.h: In member function `void wxDateTimeArray::push_back(const _wxObjArraywxDate
TimeArray&)':
/usr/include/wx-2.6/wx/datetime.h:1429: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/datetime.h: In member function `int wxHolidayAuthoritiesArray::Index(wxDateTimeHolidayA
uthority*, bool) const':
/usr/include/wx-2.6/wx/datetime.h:1441: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/datetime.h: In member function `void wxHolidayAuthoritiesArray::Add(wxDateTimeHolidayAu
thority*, unsigned int)':
/usr/include/wx-2.6/wx/datetime.h:1441: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/datetime.h: In member function `void wxHolidayAuthoritiesArray::Insert(wxDateTimeHolida
yAuthority*, unsigned int, unsigned int)':
/usr/include/wx-2.6/wx/datetime.h:1441: warning: declaration of `Item' shadows a member of `this'
/usr/include/wx-2.6/wx/datetime.h: In member function `void wxHolidayAuthoritiesArray::Remove(wxDateTimeHolida
yAuthority*)':
/usr/include/wx-2.6/wx/datetime.h:1441: warning: declaration of `Item' shadows a member of `this'
In file included from /usr/include/wx-2.6/wx/wfstream.h:26,
from FileFunctions.cpp:29:
/usr/include/wx-2.6/wx/file.h: In constructor `wxFile::wxFile(int)':
/usr/include/wx-2.6/wx/file.h:82: warning: declaration of `fd' shadows a member of `this'
/usr/include/wx-2.6/wx/file.h: In member function `void wxFile::Attach(int)':
/usr/include/wx-2.6/wx/file.h:94: warning: declaration of `fd' shadows a member of `this'
In file included from /usr/include/wx-2.6/wx/wfstream.h:27,
from FileFunctions.cpp:29:
/usr/include/wx-2.6/wx/ffile.h: In constructor `wxFFile::wxFFile(FILE*)':
/usr/include/wx-2.6/wx/ffile.h:47: warning: declaration of `fp' shadows a member of `this'
/usr/include/wx-2.6/wx/ffile.h: In member function `void wxFFile::Attach(FILE*, const wxString&)':
/usr/include/wx-2.6/wx/ffile.h:57: warning: declaration of `fp' shadows a member of `this'
In file included from libs/common/StringFunctions.h:29,
from FileFunctions.cpp:40:
Types.h: In member function `int ArrayOfUInts16::Index(short unsigned int, bool) const':
Types.h:88: warning: declaration of `Item' shadows a member of `this'
Types.h: In member function `void ArrayOfUInts16::Add(short unsigned int, unsigned int)':
Types.h:88: warning: declaration of `Item' shadows a member of `this'
Types.h: In member function `void ArrayOfUInts16::Insert(short unsigned int, unsigned int, unsigned int)':
Types.h:88: warning: declaration of `Item' shadows a member of `this'
Types.h: In member function `void ArrayOfUInts16::Remove(short unsigned int)':
Types.h:88: warning: declaration of `Item' shadows a member of `this'
In file included from /usr/include/wx-2.6/wx/defs.h:21,
from /usr/include/wx-2.6/wx/dynarray.h:20,
from Types.h:30,
from MemFile.h:29,
from MemFile.cpp:26:
/usr/include/wx-2.6/wx/platform.h:22:5: warning: "__MWERKS__" is not defined
In file included from /usr/include/wx-2.6/wx/dynarray.h:20,
from Types.h:30,
from MemFile.h:29,
from MemFile.cpp:26:
/usr/include/wx-2.6/wx/defs.h:625:5: warning: "wxUSE_COMPATIBLE_COORD_TYPES" is not defined
In file included from Types.h:30,
from MemFile.h:29,
from MemFile.cpp:26:
And so on, and so on, screens and screens of it. Before make stops on that Scanner file thingie.
The question: Is something changed in the code that generates these warnings? I'm using Mandrake 10, with wxWidgets 2.6.0, and I didn't see all these warnings before November 26th.