From: Kornel B. <Kor...@be...> - 2009-11-09 06:46:37
|
Am Sunday 08 November 2009 schrieb Jim Watters: > Jim Watters wrote: > > Jean-Luc Coulon (f5ibh) wrote: > > > >> Hi, > >> > >> I get the following: > >> > >> [...] > >> /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > >> -DHasJPEG -DHasPNG -DHasTIFF -DHasZLIB -D__Ansi__=1 -g -O2 -MT > >> PTDialogs.lo -MD -MP -MF .deps/PTDialogs.Tpo -c -o PTDialogs.lo > >> PTDialogs.c > >> libtool: compile: gcc -DHAVE_CONFIG_H -I. -DHasJPEG -DHasPNG -DHasTIFF > >> -DHasZLIB -D__Ansi__=1 -g -O2 -MT PTDialogs.lo -MD -MP -MF .deps/ > >> PTDialogs.Tpo -c PTDialogs.c -fPIC -DPIC -o .libs/PTDialogs.o > >> In file included from PTDialogs.c:29: > >> sys_ansi.h:44: error: expected ‘)’ before ‘Owner’ > >> sys_ansi.h:45: error: expected ‘)’ before ‘hDlg’ > >> make[2]: *** [PTDialogs.lo] Error 1 > >> > >> > >> I run Debian sid > >> > >> Regards > >> > >> Jean-Luc > >> > >> > > That was my doing. I got to run and will look at it in about 4 hours. > > In the mean time, can you test changing the two functions in sys_ansi.h > > I expect HWND is undefined. > > void SetWindowOwner(PVOID Owner); > > void CenterDialog(PVOID hDlg); > I have attached a patch. Does this work for you? It works for me, iff I first also define PVOID. #define PVOID void * This is on openSuSE. The patch for filter.h (in another mail) is needed too. > The two functions of question are exposed for use with GUI build of > libPano13 but are not reliant with the CMD version. > Kornel -- Kornel Benko Kor...@be... |