vmprof-python icon indicating copy to clipboard operation
vmprof-python copied to clipboard

build bug on vmprof_win.c

Open namuyan opened this issue 4 years ago • 0 comments

Hello, I build it on windows10 64bit Python3.6

build error on vmprof_win

src/vmprof_win.c:109:23: error: static declaration of 'get_current_thread_state' follows non-static declaration
 PY_WIN_THREAD_STATE * get_current_thread_state(void)
                       ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/vmprof_win.c:1:
src/vmprof_win.h:25:23: note: previous declaration of 'get_current_thread_state' was here
 PY_WIN_THREAD_STATE * get_current_thread_state(void);

get_current_thread_state is static or not? I'm not good at C.

namuyan avatar Sep 06 '19 16:09 namuyan