Opened 9 years ago

Last modified 7 years ago

#1363 closed defect (Fixed)

Compile warning in 0.2.2.11-alpha

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

Description

https://buildbot.vidalia-project.net/builders/obsd-sparc64.tor-master/builds/2292/steps/compile/logs/stdio
https://buildbot.vidalia-project.net/builders/phobos.osx-panther.tor-master/builds/4845/steps/compile/logs/stdio

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 9 years ago by nickm

Should be fixed by e3cd535c7cfa56b6f

comment:2 Changed 9 years ago by arma

Included in 0.2.2.12-alpha

comment:3 Changed 9 years ago by arma

flyspray2trac: bug closed.

comment:4 Changed 7 years ago by nickm

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