[liblouis-liblouisxml] Re: [liblouisutdml] 2 new revisions pushed by mwhapples on 2014-05-16 11:24 GMT

  • From: "Vic Beckley" <vic.beckley3@xxxxxxxxx>
  • To: <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Fri, 16 May 2014 16:05:32 -0400

Michael,

Thank you. It works now.


Best regards from Ohio,

Vic

-----Original Message-----
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Michael
Whapples (Redacted sender "mwhapples@xxxxxxx" for DMARC)
Sent: Friday, May 16, 2014 4:00 PM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Re: [liblouisutdml] 2 new revisions pushed
by mwhapples on 2014-05-16 11:24 GMT

OK, should be fixed, a stupid error which worked fine on Linux but 
obviously something VC doesn't like. I think I have noticed this sort of 
error before should have been more careful.

Michael Whapples
On 16/05/2014 17:59, Vic Beckley wrote:
> Michael,
>
> Won't build on Windows.
>
>
> c:\liblouisutdml\windows>nmake /f makefile.nmake
>
> Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>          nmake /nologo /f Makefile.gen
>          cl.exe /nologo /O2 /W1 /c
> /Ic:\liblouis\branches\mwhapples_logging\liblo
> uis /Ic:\liblouis\branches\mwhapples_logging\windows\include /Iinclude
> /Ic:\libx
> ml2-2.7.2\include /DWIDECHAR_TYPE="unsigned int"
> ..\liblouisutdml\transcriber.c
> transcriber.c
> ..\liblouisutdml\transcriber.c(5456) : error C2275: 'PageStatus' : illegal
> use o
> f this type as an expression
>          ..\liblouisutdml\transcriber.c(4231) : see declaration of
> 'PageStatus'
> ..\liblouisutdml\transcriber.c(5456) : error C2146: syntax error : missing
> ';' b
> efore identifier 'curPageStatus'
> ..\liblouisutdml\transcriber.c(5456) : error C2065: 'curPageStatus' :
> undeclared
>   identifier
> ..\liblouisutdml\transcriber.c(5463) : error C2065: 'curPageStatus' :
> undeclared
>   identifier
> NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual
Studio
> 9.0\
> VC\BIN\x86_amd64\cl.exe"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual
Studio
> 9.0\
> VC\BIN\nmake.EXE"' : return code '0x2'
> Stop.
>
> c:\liblouisutdml\windows>
>
>
> Best regards from Ohio,
>
> Vic
>
> -----Original Message-----
> From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
> [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of
> liblouisutdml@xxxxxxxxxxxxxx
> Sent: Friday, May 16, 2014 7:25 AM
> To: liblouis-liblouisxml@xxxxxxxxxxxxx
> Subject: [liblouis-liblouisxml] [liblouisutdml] 2 new revisions pushed by
> mwhapples on 2014-05-16 11:24 GMT
>
> 2 new revisions:
>
> Revision: 116c2862a4cf
> Branch:   default
> Author:   Michael Whapples
> Date:     Fri May 16 08:55:12 2014 UTC
> Log:      More logging stuff
> http://code.google.com/p/liblouisutdml/source/detail?r=116c2862a4cf
>
> Revision: 6c0c0ae9075e
> Branch:   default
> Author:   Michael Whapples
> Date:     Fri May 16 10:33:42 2014 UTC
> Log:      More logging statements.
> http://code.google.com/p/liblouisutdml/source/detail?r=6c0c0ae9075e
>
>
============================================================================
> ==
> Revision: 116c2862a4cf
> Branch:   default
> Author:   Michael Whapples
> Date:     Fri May 16 08:55:12 2014 UTC
> Log:      More logging stuff
> http://code.google.com/p/liblouisutdml/source/detail?r=116c2862a4cf
>
> Modified:
>    /liblouisutdml/transcriber.c
>    /tools/file2brl.c
>
> =======================================
> --- /liblouisutdml/transcriber.c      Tue May  6 14:04:40 2014 UTC
> +++ /liblouisutdml/transcriber.c      Fri May 16 08:55:12 2014 UTC
> @@ -2966,6 +2966,7 @@
>    write_paragraph (sem_act action, xmlNode * node)
>    {
>      StyleType *holdStyle;
> +  lou_log(LOG_INFO, "Begin write_paragraph");
>      if (!((ud->text_length > 0 || ud->translated_length > 0) &&
>       ud->style_top >= 0))
>        return 1;
> @@ -3004,6 +3005,7 @@
>      styleBody ();
>      end_style ();
>      ud->needs_editing = 0;
> +  lou_log(LOG_INFO, "Finish write_paragraph");
>      return 1;
>    }
>
> @@ -3547,7 +3549,7 @@
>    int
>    start_style (StyleType * curStyle, xmlNode * node)
>    {
> -  lou_log(LOG_INFO, "Starting style");
> +  lou_log(LOG_INFO, "Begin start_style");
>      if (curStyle == NULL)
>        curStyle = lookup_style ("para");
>      if (prevStyle == NULL)
> @@ -3597,12 +3599,14 @@
>        return 1;
>      startStyle ();
>      styleSpec->status = startBody;
> +  lou_log(LOG_INFO, "Finish start_style");
>      return 1;
>    }
>
>    int
>    end_style ()
>    {
> +  lou_log(LOG_INFO, "Begin end_style");
>      styleSpec = &ud->style_stack[ud->style_top];
>      style = styleSpec->style;
>      ud->brl_page_num_format = styleSpec->curBrlNumFormat;
> @@ -3632,6 +3636,7 @@
>      ud->style_right_margin = styleSpec->curRightMargin;
>      ud->style_first_line_indent = styleSpec->curFirstLineIndent;
>      ud->needs_editing = 0;
> +  lou_log(LOG_INFO, "Finish end_style");
>      return 1;
>    }
>
> @@ -4983,9 +4988,10 @@
>      int charactersWritten = 0;
>      int newLineNeeded = 1;
>      brlNode = firstBrlNode;
> -  lou_log(LOG_INFO, "Do ordinary text");
> +  lou_log(LOG_INFO, "Begin utd_doOrdinaryText");
>      while (brlNode)
>        {
> +      lou_log(LOG_DEBUG, "Finding brlNode content");
>          do
>       {
>         if (newLineNeeded)
> @@ -5050,6 +5056,7 @@
>          prevBrlNode->_private = NULL;
>        }
>      brlNode = prevBrlNode;   /*for utd_finishStyle */
> +  lou_log(LOG_INFO, "Finish utd_doOrdinaryText");
>      return 1;
>    }
>    static int
> @@ -5382,7 +5389,7 @@
>    utd_styleBody ()
>    {
>      sem_act action;
> -  lou_log(LOG_INFO, "Begin styleBody");
> +  lou_log(LOG_INFO, "Begin utd_styleBody");
>      if (!utd_editTrans ())
>        return 0;
>      if (!ud->paragraphs)
> @@ -5437,6 +5444,7 @@
>      ud->sync_text_length = 0;
>      ud->in_sync = ud->hyphenate;
>      firstBrlNode = NULL;
> +  lou_log(LOG_INFO, "Finish utd_styleBody");
>      return 1;
>    }
>
> =======================================
> --- /tools/file2brl.c Mon May  5 11:31:58 2014 UTC
> +++ /tools/file2brl.c Fri May 16 08:55:12 2014 UTC
> @@ -115,6 +115,7 @@
>      UserData *ud;
>
>      int optc;
> +  lou_setLogLevel(LOG_DEBUG);
>      set_program_name (argv[0]);
>      logFileName[0] = 0;
>
>
>
============================================================================
> ==
> Revision: 6c0c0ae9075e
> Branch:   default
> Author:   Michael Whapples
> Date:     Fri May 16 10:33:42 2014 UTC
> Log:      More logging statements.
> http://code.google.com/p/liblouisutdml/source/detail?r=6c0c0ae9075e
>
> Modified:
>    /liblouisutdml/transcribe_math.c
>    /liblouisutdml/transcriber.c
>
> =======================================
> --- /liblouisutdml/transcribe_math.c  Mon May  5 10:11:08 2014 UTC
> +++ /liblouisutdml/transcribe_math.c  Fri May 16 10:33:42 2014 UTC
> @@ -44,10 +44,12 @@
>      StyleType *style;
>      xmlNode *child;
>      int branchCount = 0;
> +  lou_log(LOG_INFO, "Begin transcribe_math");
>      if (node == NULL)
>        return 0;
>      if (action == 0)
>        {
> +      lou_log(LOG_DEBUG, "Math node action==0");
>          insert_translation (ud->main_braille_table);
>          curLink = node;
>          if (ud->format_for == utd)
> @@ -56,13 +58,18 @@
>            }
>        }
>      else
> -    push_sem_stack (node);
> +    {
> +      lou_log(LOG_DEBUG, "Math node action!=0");
> +      push_sem_stack (node);
> +    }
>      switch (ud->stack[ud->top])
>        {
>        case skip:
> +      lou_log(LOG_DEBUG, "Math node skip");
>          pop_sem_stack ();
>          return 1;
>        case reverse:
> +      lou_log(LOG_DEBUG, "Math node reverse");
>          do_reverse (node);
>          break;
>        default:
> @@ -70,8 +77,9 @@
>        }
>      if ((style = is_style (node)) != NULL)
>        {
> -    mathTrans ();
> -    start_style (style, node);
> +      lou_log(LOG_DEBUG, "Math node start style");
> +      mathTrans ();
> +      start_style (style, node);
>        }
>      child = node->children;
>      while (child)
> @@ -98,12 +106,14 @@
>      insert_code (node, -1);
>      if (style)
>        {
> +      lou_log(LOG_DEBUG, "Math node end style");
>          mathTrans ();
>          end_style ();
>        }
>      pop_sem_stack ();
>      if (action == 0)
>        mathTrans ();
> +  lou_log(LOG_INFO, "Finish transcribe_math");
>      return 1;
>    }
>
> =======================================
> --- /liblouisutdml/transcriber.c      Fri May 16 08:55:12 2014 UTC
> +++ /liblouisutdml/transcriber.c      Fri May 16 10:33:42 2014 UTC
> @@ -4004,7 +4004,7 @@
>    {
>      xmlNode *textNode;
>      int inlen, outlen;
> -  lou_log(LOG_INFO, "Making dots node");
> +  lou_log(LOG_INFO, "Begin makeDotsTextNode");
>      if (length <= 0)
>        return 1;
>      if (ud->mode & notUC)
> @@ -4044,7 +4044,7 @@
>      lou_log(LOG_INFO, "brlContent=%s", brlContent);
>      textNode = xmlNewText (brlContent);
>      xmlAddChild (node, textNode);
> -  lou_log(LOG_INFO, "Finished making dots node");
> +  lou_log(LOG_INFO, "Finished makeDotsTextNode");
>      return 1;
>    }
>
> @@ -5159,7 +5159,7 @@
>      int k;
>      unsigned int ch;
>      int rowEnd = 0;
> -  lou_log(LOG_INFO, "Aliging columns");
> +  lou_log(LOG_INFO, "Begin utd_doAlignColumns");
>      for (bufPos = 0; bufPos < translatedLength; bufPos++)
>        if (translatedBuffer[bufPos] == ESCAPE)
>          break;
> @@ -5321,6 +5321,7 @@
>         utd_finishLine (0, cellsToWrite);
>       }
>        }
> +  lou_log(LOG_INFO, "Finish utd_doAlignColumns");
>      return 1;
>    }
>
> @@ -5451,6 +5452,7 @@
>    static int
>    utd_finishStyle ()
>    {
> +  lou_log(LOG_INFO, "Begin utd_finishStyle");
>      PageStatus curPageStatus = checkPageStatus ();
>      if (!ud->paragraphs)
>        return 1;
> @@ -5467,6 +5469,7 @@
>       }
>        }
>      brlNode = firstBrlNode = NULL;
> +  lou_log(LOG_INFO, "Finish utd_finishStyle");
>      return 1;
>    }
>
> For a description of the software, to download it and links to
> project pages go to http://www.abilitiessoft.com
>
> For a description of the software, to download it and links to
> project pages go to http://www.abilitiessoft.com

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: