You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@corinthia.apache.org by "jan iversen (JIRA)" <ji...@apache.org> on 2015/01/19 09:36:34 UTC

[jira] [Closed] (COR-16) Tidy-HTML5 x64 Possible Problems

     [ https://issues.apache.org/jira/browse/COR-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jan iversen closed COR-16.
--------------------------
    Resolution: Won't Fix

Will be solved as part of 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)