Werner Almesberger <wa@almesberger.net> wrote: |raptor wrote: |> This time errors are real :") | |That weird cpp strikes again. Which CPP version is this anyway ? | |Does putting |#line 0 ]- nope.. it seems worst wit it |or |#line 1 ]- definetly helps,.. 'man u have put hell-of-a-tests, no bug can escape :") This time i got up to here... Now I'm going to get 8x :") (i was just going to ask when htb-tcng patch will be in :") ) check syntax of examples-ng/dsmark+policing: PASSED check syntax of examples-ng/ef-prio: PASSED Standard error: | warning: real MTU (guessed 1510) may be larger than 1500 check syntax of examples-ng/gred: PASSED check syntax of examples-ng/ingress: PASSED check syntax of examples-ng/pfifo_fast: PASSED check syntax of examples-ng/prio+fw: PASSED ...................... SLB without MPU (ext) : PASSED SLB with MPU (ext): FAILED File: tests/mpu Command: tcsim | tcsim_filter -c Input: _in.30580 Output: _out.30580 Reference: _ref.30580 scripts/runtests.sh: line 2: 30604 Broken pipe cat scripts/run-all-tests: line 14: 11902 Broken pipe cat $n make: *** [test] Error 1 [root@qos tcng]# [root@qos tcng]# cat _in.30580 dev eth0 10Gbps { egress { /* Note: cbs must be >= mpu */ $p = SLB(cir 500kbps,cbs 3kB,mpu 2500B); class (<>) if SLB_else_drop($p); } } every 0.01s send 0 x 1250 /* 1 Mbps */ time 1s end [root@qos tcng]# cat _out.30580 D 13 E 102 [root@qos tcng]# cat _ref.30580 D 26 E 102 [root@qos tcng]# |at the end of tcng/tcc/default.tc help or at least change the |output in any way ? (According to the CPP 2.95.3, 3.1.1 and |3.2 docs, #line N should set the line number of the _next_ line |to N, but CPP "2.96" (RH) and 3.1 set the line number of the |current line, so the next line becomes N+1.) ]- [root@qos tcng]# cpp -v Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/specs gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk) /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/cpp0 -lang-c -v -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__NO_INLINE__ -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_pentium__ - GNU CPP version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk) (cpplib) (i386 Linux/ELF) ... _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/