[xslt] WIN32 Compile errors fix for xsldbg-0-9-5



Hi all,

I goofed with some of the WIN32 code for  xsldbg. Attached is a diff to fix 
the problems that Igor pointed out to me. Please not that the WIN32 binaries 
for xsldbg may not be correct. I'm still having fun building the WIN32  
binaries I promised. I'll see if I can do this in a reasonable amount of 
time. Otherwise I'll put my effort into xsldbg's source instead. 

bye,

Keith
? Makefile
? aclocal.m4
? config.status
? configure
? libtool
? config.cache
? config.log
? config.h
? Makefile.in
? docs/Makefile
? docs/Makefile.in
? docs/en/Makefile
? docs/en/Makefile.in
? docs/en/GNOME/Makefile
? docs/en/GNOME/Makefile.in
? docs/en/KDE/Makefile
? docs/en/KDE/Makefile.in
? docs/en/plain/Makefile
? docs/en/plain/Makefile.in
? docs/en/website/Makefile
? docs/en/website/Makefile.in
? results/test2.results
? results/Makefile
? results/test4.results
? results/test7.script
? results/test2.script
? results/test6.results
? results/test1.pl
? results/test2.pl
? results/test3.pl
? results/test4.pl
? results/test5.pl
? results/test6.pl
? results/test7.pl
? results/test8.pl
? results/test4.script
? results/test8.results
? results/test1.results
? results/Makefile.in
? results/test3.results
? results/test6.script
? results/test1.script
? results/test5.results
? results/test8.script
? results/test3.script
? results/test7.results
? results/test1.log
? results/test2.log
? results/test3.log
? results/test4.log
? results/test5.log
? results/test6.log
? results/test7.log
? results/test8.log
? results/test5.script
? src/Makefile
? src/.deps
? src/.libs
? src/Makefile.in
? src/xsldbg
? tests/listTest
? tests/Makefile
? tests/.deps
? tests/.libs
? tests/Makefile.in
? tests/searchTest
Index: src/breakpoint.h
===================================================================
RCS file: /cvsroot/xsldbg/xsldbg/src/Attic/breakpoint.h,v
retrieving revision 1.7
diff -c -r1.7 breakpoint.h
*** src/breakpoint.h	2001/12/14 06:27:14	1.7
--- src/breakpoint.h	2001/12/29 08:01:54
***************
*** 66,72 ****
  
  
  #define XSL_TOGGLE_BREAKPOINT -1
-     extern int xslDebugStatus;  /* defined in libxslt/xsltutils.h  */
  
      typedef struct _xslBreakPoint xslBreakPoint;
      typedef xslBreakPoint *xslBreakPointPtr;
--- 66,71 ----
Index: src/xsldbg.h
===================================================================
RCS file: /cvsroot/xsldbg/xsldbg/src/Attic/xsldbg.h,v
retrieving revision 1.13
diff -c -r1.13 xsldbg.h
*** src/xsldbg.h	2001/12/18 09:40:36	1.13
--- src/xsldbg.h	2001/12/29 08:01:56
***************
*** 66,80 ****
  #define ATTRIBUTE_UNUSED
  #endif
  
- /**
-  * LIBXSLT_PUBLIC:
-  *
-  * This macro is used to declare PUBLIC variables for MSC on Windows
-  */
- #if !defined(WIN32) || defined(__CYGWIN__)
- #define LIBXSLT_PUBLIC
- #endif
- 
  /* We want skip most of these includes when building documentation */
  #ifndef BUILD_DOCS
  #include <signal.h>
--- 66,71 ----
Index: src/xsldbgwin32conf.h
===================================================================
RCS file: /cvsroot/xsldbg/xsldbg/src/xsldbgwin32conf.h,v
retrieving revision 1.1
diff -c -r1.1 xsldbgwin32conf.h
*** src/xsldbgwin32conf.h	2001/12/18 09:44:25	1.1
--- src/xsldbgwin32conf.h	2001/12/29 08:01:56
***************
*** 24,30 ****
  
  #define VERSION "0.9.5"
  
! #define TIMESTAMP "18th Dec 2001"
  
  #ifndef WITH_DEBUGGER
  #define WITH_DEBUGGER
--- 24,30 ----
  
  #define VERSION "0.9.5"
  
! #define TIMESTAMP "29th Dec 2001"
  
  #ifndef WITH_DEBUGGER
  #define WITH_DEBUGGER
***************
*** 34,38 ****
--- 34,41 ----
  #define WITH_DEBUG_HELP
  #endif
  
+ #if defined _MSC_VER
+ #define snprintf _snprintf
+ #endif
  
  #endif
Index: src/xsldbgwin32conf.h.in
===================================================================
RCS file: /cvsroot/xsldbg/xsldbg/src/xsldbgwin32conf.h.in,v
retrieving revision 1.1
diff -c -r1.1 xsldbgwin32conf.h.in
*** src/xsldbgwin32conf.h.in	2001/12/18 09:44:25	1.1
--- src/xsldbgwin32conf.h.in	2001/12/29 08:01:56
***************
*** 24,30 ****
  
  #define VERSION "@VERSION@"
  
! #define TIMESTAMP "18th Dec 2001"
  
  #ifndef WITH_DEBUGGER
  #define WITH_DEBUGGER
--- 24,30 ----
  
  #define VERSION "@VERSION@"
  
! #define TIMESTAMP "29th Dec 2001"
  
  #ifndef WITH_DEBUGGER
  #define WITH_DEBUGGER
***************
*** 34,38 ****
--- 34,41 ----
  #define WITH_DEBUG_HELP
  #endif
  
+ #if defined _MSC_VER
+ #define snprintf _snprintf
+ #endif
  
  #endif


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