#1846: win32 compile fails on sysmem.c on mingw gcc 4.5 (w. workaround)
----------------------+-----------------------------------------------------
Reporter: ronaldws | Type: bug
Status: new | Priority: normal
Milestone: 2.10 | Component: build
Version: 2.10.0 | Severity: medium
Keywords: | Lang:
Patch: | Platform: win32
----------------------+-----------------------------------------------------
Comment(by ronaldws):
Replying to [comment:4 jkeenan]:
> Replying to [comment:3 ronaldws]:
> > WinNT 4.0/Windows 98. Parrot probably doesn't want to support those
versions of Windows.
>
> I haven't attempted to boot my Windows 98 box in years, so I can't test
the patch.
Just to clarify ...
I am running under Windows Vista. My MingW installation seems to have set
WINVER to a value for an old version of Windows probably to maximize
compatability of compiler output across Windows versions. This may or may
not be common - I'm not sure about defaults for different MingW
installations. In essence, what seems to be happening here is that we are
requiring a compiler interface for more modern versions of the Windows API
to take advantage of a more modern memory analysis API. More serious
analysis may allow for the use of the older MEMORYSTATUS structure instead
of or as well as the MEMORYSTATUSEX function.
For the time being I was hoping that the discussion here might suggest
some straight forward approaches to simply help someone with a different
WINVER default to get parrot to compile.
Ron
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1846#comment:5>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets