Ticket #201 (closed defect: fixed)
compile errors with older versions of GCC
| Reported by: | aturner | Owned by: | aturner |
|---|---|---|---|
| Priority: | low | Milestone: | 3.2.1 |
| Component: | tcpreplay | Version: | 3.2.0 |
| Keywords: | Cc: | ||
| Operating System: | Add to FAQ?: | no | |
| Hardware: | All | ||
| Output of tcpreplay -V: | |||
Description
> gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I../.. > -D_U_="__attribute__((unused))" -Wall -O3 -std=gnu99 > -I/usr/local/include -MT cache.o -MD -MP -MF .deps/cache.Tpo -c -o cache.o > cache.c > cache.c:326:1: directives may not be used inside a macro argument > cache.c:320:55: unterminated argument list invoking macro "dbgx" > cache.c: In function `add_cache': > cache.c:329: `dbgx' undeclared (first use in this function) > cache.c:329: (Each undeclared identifier is reported only once > cache.c:329: for each function it appears in.) > cache.c:329: parse error before string constant > make[4]: *** [cache.o] Error 1
Linux version 2.4.20-6 (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5))
Change History
Note: See
TracTickets for help on using
tickets.

(In [1906]) fix compile issue w/ older gcc refs #201