From 77acbf170736353ef0880d4c65c586d86a7b0f90 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Mon, 17 Oct 2011 15:08:59 +0000 Subject: remove #warning git-svn-id: svn://tug.org/texlive/trunk@24311 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/synctexdir/ChangeLog | 5 +++++ Build/source/texk/web2c/synctexdir/synctex_parser.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'Build/source/texk/web2c/synctexdir') diff --git a/Build/source/texk/web2c/synctexdir/ChangeLog b/Build/source/texk/web2c/synctexdir/ChangeLog index 94fecac418d..a0c84c3f98a 100644 --- a/Build/source/texk/web2c/synctexdir/ChangeLog +++ b/Build/source/texk/web2c/synctexdir/ChangeLog @@ -1,3 +1,8 @@ +2011-10-18 Akira Kakuto + + * synctex_parser.c: remove "# warning ..." lines, because MSVC fails to + interpret them. + 2011-10-14 Jérôme Laurens These changes only affect the synctex command line utility diff --git a/Build/source/texk/web2c/synctexdir/synctex_parser.c b/Build/source/texk/web2c/synctexdir/synctex_parser.c index ef5c60438c3..508db2e3cf7 100644 --- a/Build/source/texk/web2c/synctexdir/synctex_parser.c +++ b/Build/source/texk/web2c/synctexdir/synctex_parser.c @@ -119,14 +119,12 @@ typedef union _synctex_info_t { } synctex_info_t; # if defined(SYNCTEX_USE_CHARINDEX) -# warning SyncTeX With CHARINDEX # define SYNCTEX_DECLARE_CHARINDEX synctex_charindex_t char_index # define SYNCTEX_CHARINDEX(NODE) (NODE->char_index) # define SYNCTEX_PRINT_CHARINDEX printf("#%i\n",SYNCTEX_CHARINDEX(node)) # define SYNCTEX_DECLARE_CHAR_OFFSET synctex_charindex_t charindex_offset # define SYNCTEX_IMPLEMENT_CHARINDEX(NODE,CORRECTION) NODE->char_index = (synctex_charindex_t)(scanner->charindex_offset+SYNCTEX_CUR-SYNCTEX_START+(CORRECTION)); # else -# warning SyncTeX Without CHARINDEX # define SYNCTEX_DECLARE_CHARINDEX # define SYNCTEX_CHARINDEX(NODE) 0 # define SYNCTEX_PRINT_CHARINDEX printf("\n") -- cgit v1.2.3