Those flags can be set with the CFLAGS,CXXFLAGS or CPPFLAGS (depends if it's c files 
or c++ files)

The test program for vector.h uses c++ so just type:
export CPPFLAGS=-Wno-deprecated
and then ./configure ... as usual

NOTE: since this is just a check for libstdc++, why not change the test program to use 
another .h file? Here's the list of deprecated headers:
algobase.h          deque.h      iomanip.h   multiset.h  slist.h      tree.h
algo.h              fstream.h    iostream.h  new.h       stack.h      vector.h
alloc.h             function.h   istream.h   ostream.h   streambuf.h
backward_warning.h  hash_map.h   iterator.h  pair.h      stream.h
bvector.h           hash_set.h   list.h      queue.h     strstream
complex.h           hashtable.h  map.h       rope.h      strstream.h
defalloc.h          heap.h       multimap.h  set.h       tempbuf.h

But there's another problem with gcc3.1: it doesnt like when fonctions have their 
default arguments given in a .h file AND in a .cpp file that includes this header. For 
example:

ewidgets.cpp:469: default argument given for parameter 2 of 
`CMessageViewWidget::CMessageViewWidget(long unsigned int, QWidget* = 0, const char* = 
0)'
ewidgets.h:130: after previous specification in 
`CMessageViewWidget::CMessageViewWidget(long unsigned int, QWidget* = 0, const char* = 
0)'
ewidgets.cpp:469: default argument given for parameter 3 of 
`CMessageViewWidget::CMessageViewWidget(long unsigned int, QWidget* = 0, const char* = 
0)'
ewidgets.h:130: after previous specification in 
`CMessageViewWidget::CMessageViewWidget(long unsigned int, QWidget* = 0, const char* = 
0)'
make[2]: *** [ewidgets.lo] Erreur 1

So, which default setting do I have to remove? I tried to hack some, but the new licq 
will just hang almost immediatly.

Wow, it's becoming a big post. Enough for the night

-- 
                                                        Bernard Cafarelli
                                                        aka Voyageur
                                                        ICQ:66024647
                

Attachment: msg00762/pgp00000.pgp
Description: PGP signature

Reply via email to