Opened 10 years ago

Last modified 8 years ago

#1363 closed defect (Fixed)

Compile warning in

Reported by: arma Owned by:
Priority: Low Milestone: 0.2.2.x-final
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: arma, Sebastian Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


both say

if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSHARE_DATADIR="\"/usr/local/share\"" -DLOCALSTATEDIR="\"/usr/local/var\"" -DBINDIR="\"/usr/local/bin\"" -I../../src/common -g -O2 -Wall -g -O2 -fno-strict-aliasing -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat=2 -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch-enum -Werror -MT buffers.o -MD -MP -MF ".deps/buffers.Tpo" -c -o buffers.o buffers.c; then mv -f ".deps/buffers.Tpo" ".deps/buffers.Po"; else rm -f ".deps/buffers.Tpo"; exit 1; fi
In file included from buffers.c:14:
or.h:4497: warning: parameter has incomplete type

The code in question is

enum bandwidth_weight_rule_t;
const char *bandwidth_weight_rule_to_string(enum bandwidth_weight_rule_t rule);

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (4)

comment:1 Changed 10 years ago by nickm

Should be fixed by e3cd535c7cfa56b6f

comment:2 Changed 10 years ago by arma

Included in

comment:3 Changed 10 years ago by arma

flyspray2trac: bug closed.

comment:4 Changed 8 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.