[MPlayer-cvslog] r24262 - in trunk: Makefile command.c get_path.c get_path.h gui/cfg.c gui/interface.c gui/interface.h input/input.c libaf/af_export.c libass/ass_mp.c libmpcodecs/dec_audio.c libmpcodecs/dec_video.c libvo/font_load.c libvo/font_load_ft.c libvo/vo_dxr2.c mencoder.c mp_core.h mplayer.c stream/stream_dvb.c

Reimar Doeffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Aug 28 19:31:15 CEST 2007


Hello,
On Tue, Aug 28, 2007 at 11:39:34PM +0800, JonY wrote:
[...]
> get_path.o get_path.c
> get_path.c: In function 'get_path':
> get_path.c:49: warning: implicit declaration of function 
> 'GetModuleFileNameA'
> get_path.c: In function 'set_path_env':
> get_path.c:146: warning: implicit declaration of function 
> 'SetEnvironmentVariableA'

Obviously a prototype is missing for this function, thus it is compiled
with wrong calling conventions, which either results in it not linking
or a crash during execution...

Greetings,
Reimar Doeffinger



More information about the MPlayer-cvslog mailing list