[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#329836: gcc-4.0: static functions which are called only indirectly are considered "unused"



tags 329836 + moreinfo
thanks

Justin Pryzby <justinpryzby@users.sourceforge.net> writes:

> cc -W -Wall -Winline -O6  -g -std=gnu99 -DPATH_SEP=\'/\'   -Wl,-O6 usnoquery.c libastro.a  -lm  -L/usr/lib -lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -o usnoquery
> usnoquery.c:514: warning: 'write_data' defined but not used
>
> I think the warning is erroneous, no?

Please send the preprocessed source, as obtained when adding
-save-temps.

-- 
	Falk



Reply to: