Re: [AD] makedoc et al. compilation |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
> I've commited a few changes which should reduce those a little. At least > everything compiles silently for me even with -pedantic. Thanks. Here's the result: bcc32 -DALLEGRO_SRC -O2 -OS -q -W -I. -I./include -c -oobj\bcc32\alleg\makedoc.obj docs\src\makedoc\makedoc.c docs\src\makedoc\makedoc.c: Warning W8060 docs\src\makedoc\makedoc.c 253: Possibly incorrect assignment in function _transform_custom_tags Warning W8060 docs\src\makedoc\makedoc.c 264: Possibly incorrect assignment in function _transform_custom_tags Warning W8060 docs\src\makedoc\makedoc.c 275: Possibly incorrect assignment in function _transform_custom_tags bcc32 -DALLEGRO_SRC -O2 -OS -q -W -I. -I./include -c -oobj\bcc32\alleg\makehtml.obj docs\src\makedoc\makehtml.c docs\src\makedoc\makehtml.c: Warning W8004 docs\src\makedoc\makehtml.c 728: 'buf' is assigned a value that is never used in function _get_clean_xref_token Warning W8060 docs\src\makedoc\makehtml.c 855: Possibly incorrect assignment in function _post_process_filename Warning W8060 docs\src\makedoc\makehtml.c 856: Possibly incorrect assignment in function _post_process_filename Warning W8060 docs\src\makedoc\makehtml.c 987: Possibly incorrect assignment in function _detect_non_paragraph_sections Warning W8060 docs\src\makedoc\makehtml.c 1024: Possibly incorrect assignment in function _mark_up_auto_types bcc32 -DALLEGRO_SRC -O2 -OS -q -W -I. -I./include -c -oobj\bcc32\alleg\makemisc.obj docs\src\makedoc\makemisc.c docs\src\makedoc\makemisc.c: bcc32 -DALLEGRO_SRC -O2 -OS -q -W -I. -I./include -c -oobj\bcc32\alleg\maketxt.obj docs\src\makedoc\maketxt.c docs\src\makedoc\maketxt.c: bcc32 -DALLEGRO_SRC -O2 -OS -q -W -I. -I./include -c -oobj\bcc32\alleg\makertf.obj docs\src\makedoc\makertf.c docs\src\makedoc\makertf.c: Warning W8004 docs\src\makedoc\makertf.c 488: 'pardebt' is assigned a value that is never used in function write_rtf bcc32 -DALLEGRO_SRC -O2 -OS -q -W -I. -I./include -c -oobj\bcc32\alleg\maketexi.obj docs\src\makedoc\maketexi.c docs\src\makedoc\maketexi.c: Warning W8004 docs\src\makedoc\maketexi.c 99: 'i' is assigned a value that is never used in function write_texinfo bcc32 -DALLEGRO_SRC -O2 -OS -q -W -I. -I./include -c -oobj\bcc32\alleg\makeman.obj docs\src\makedoc\makeman.c docs\src\makedoc\makeman.c: bcc32 -DALLEGRO_SRC -O2 -OS -q -W -I. -I./include -c -oobj\bcc32\alleg\makechm.obj docs\src\makedoc\makechm.c docs\src\makedoc\makechm.c: Warning W8060 docs\src\makedoc\makechm.c 239: Possibly incorrect assignment in function _write_hhp bcc32 -DALLEGRO_SRC -O2 -OS -q -W -I. -I./include -c -oobj\bcc32\alleg\makedevh.obj docs\src\makedoc\makedevh.c docs\src\makedoc\makedevh.c: Are you ok to apply the attached patch ? > You can take those "possibly incorrect assignment" and... I mean, I dislike compilers > which 'think' too much. If there's no way to silent that type of warning, > feel free to unroll all those assignments }:-) I agree. I'm going to silent it for the whole build. > PD: Don't know anything about that 'pardebt' warning. Macro, macro, macro... -- Eric Botcazou
Attachment:
makedoc.diff
Description: Binary data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |