When I compile with debug=yes option, I meat a compile error. Please check print_rin() in rib/rib.cc
Thank you for your kindness. Hiroki Doi linux (ubuntu 11.04) gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) $ scons debug = yes g++ -o obj/x86_64-unknown-linux-gnu/rib/rib.os -c -O1 -g3 -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -DDEBUG_LOGGING -fPIC -DXRL_PF=120 -D_FORTIFY_SOURCE=0 -Iobj/x86_64-unknown-linux-gnu -I. -I. rib/rib.cc cc1plus: warnings being treated as errors rib/rib.cc: In member function ‘void RIB<A>::print_rib() const [with A = IPv4]’: rib/rib.cc:1617:16: instantiated from here rib/rib.cc:1582:2: error: format not a string literal and no format arguments rib/rib.cc:1617:16: instantiated from here rib/rib.cc:1585:6: error: format not a string literal and no format arguments rib/rib.cc: In member function ‘void RIB<A>::print_rib() const [with A = IPv6]’: rib/rib.cc:1621:16: instantiated from here rib/rib.cc:1582:2: error: format not a string literal and no format arguments rib/rib.cc:1621:16: instantiated from here rib/rib.cc:1585:6: error: format not a string literal and no format arguments scons: *** [obj/x86_64-unknown-linux-gnu/rib/rib.os] Error 1 scons: building terminated because of errors. _______________________________________________ Xorp-hackers mailing list [email protected] http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
