Compile errors for the whole family!
Using Mandrake 9.0
straight out of the .37 source zip
First 3 gcc cmds go through, but with sooo many warnings, this is the 4th one which it stops on.
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Waggregate-return -g -m486 -O3 -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -I/usr/include/mysql -I/usr/mysql/include ../common/packet_dump.cpp -o ../common/packet_dump.o
Then ensues a ton of warnings as usual but it stops on this one with an error. Due to the limit of chars i can paste here ill try to get some relevant information, cause i cant put it all (and would you want to read it bog)
/usr/include/c++/3.2/bits/locale_facets.tcc:893: instantiated from `_OutIter std::num_put<_CharT, _OutIter>::do_put(_OutIter, std::ios_base&, _CharT, long unsigned int) const [with _CharT = char, _OutIter = std::ostreambuf_iterator<char, std::char_traits<char> >]'
/usr/include/c++/3.2/bits/locale_facets.h:745: instantiated from `_OutIter std::num_put<_CharT, _OutIter>::put(_OutIter, std::ios_base&, _CharT, long unsigned int) const [with _CharT = char, _OutIter = std::ostreambuf_iterator<char, std::char_traits<char> >]'
/usr/include/c++/3.2/bits/ostream.tcc:215: instantiated from `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char, _Traits = std::char_traits<char>]'
/usr/include/c++/3.2/ostream:130: instantiated from `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char, _Traits = std::char_traits<char>]'
../common/packet_dump.cpp:38: instantiated from here
/usr/include/c++/3.2/bits/stl_iterator_base_types.h:157: warning: function returns an aggregate
make: *** [../common/packet_dump.o] Error 1
|