corinthia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jan iversen (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (COR-16) Tidy-HTML5 x64 Possible Problems
Date Sun, 18 Jan 2015 09:17:34 GMT

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

jan iversen reassigned COR-16:
------------------------------

    Assignee: jan iversen

> 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