corinthia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Kelly (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COR-16) Tidy-HTML5 x64 Possible Problems
Date Mon, 19 Jan 2015 01:37:34 GMT

    [ https://issues.apache.org/jira/browse/COR-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14282075#comment-14282075
] 

Peter Kelly commented on COR-16:
--------------------------------

HTML Tidy (and libxml2) will be replaced by a custom HTML/XML parser (COR-20).

> Tidy-HTML5 x64 Possible Problems
> --------------------------------
>
>                 Key: COR-16
>                 URL: https://issues.apache.org/jira/browse/COR-16
>             Project: Corinthia
>          Issue Type: Bug
>          Components: DocFormats - platform
>         Environment: source
>            Reporter: jan iversen
>            Assignee: jan iversen
>            Priority: Blocker
>             Fix For: 0.5
>
>
> I attempted an x64 Linux build of Corinthia using MSYS2 and gcc. The build died on an
LValue error in mappedio.c at line 198:
> (DWORD)pli->LowPart = GetFileSize( fp, (DWORD *)&pli->HighPart );
> It appears to be a problem with x64 widths and file pointers and maybe the casting is
simply wrong too.
> The greater confusion I have is that the code that failed is under an
> #if _MSC_VER < 1300 /* less than msvc++ 7.0
> which is itself under an
> #if defined(_WIN32)
> and it includes <windows.h> of all things.
> That may be an artifact of MSYS2 gcc being configured to produce Windows objects and
executables. I will have to check that out by compiling Tidy-HTML5 standalone and doing some
other things to determine where those defines came from and whether they are needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message