[cfe-dev] casts.c, Windows issues
Daniel Dunbar
daniel at zuster.org
Tue Aug 18 08:50:56 PDT 2009
On Tue, Aug 18, 2009 at 7:09 AM, John
Thompson<john.thompson.jtsoftware at gmail.com> wrote:
>> This test [cast.c] should just be updated to not use that header, it shouldn't
>> be necessary.
>
> Okay. I submitted to cfe-commits a patch that just disables the part
> of the test that uses the socket stuff. Is this enough, or should I
> replace it with something equivalent? I'm just anxious to have the
> tests pass on Windows.
The relevant parts of the test should be replaced with something
equivalent. I'll try to bug Ted to look at this today (if I don't
forget).
>>> One issue is the need for the Windows Platform SDK to be added to the
>>> default include paths. This patch includes my former changes to the
>>> default include paths for Windows, plus additional code for adding the
>>> platform SDK. Therefore, you can disregard my previous submissions
>>> regarding InitHeaderSearch.cpp if you use this patch. Also, if anyone
>>> has a better mechanism of finding the Visual Studio and Platform SDK
>>> includes, such as through the registry, please let me know.
>
> Any comments about this?
I didn't look at this revision, you saw my comments on the previous
version I assume?
- Daniel
>> There is more to this, this makes the fields of MONITORINFO available
>> in this struct. The right fix is to implement this feature under
>> -fms-extensions. I think that this should be fairly easy, since we
>> already support the inline case:
>
> Oh, sorry, I didn't pick up on this. I can take a whack at this
> later, if someone doesn't get to it first. Right now I want to do
> something about the failing tests on Windows.
>
>> These defines should only be added on Windows, see
>> WindowsX86_32TargetInfo. Can you submit this part as a separate patch?
>
> I submitted a patch for this to cfe-commits. I guess Win64 is
> something for later.
>
>> - Daniel
>
> Thanks for reviewing this, Daniel.
>
> --
> John Thompson
> John.Thompson.JTSoftware at gmail.com
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
More information about the cfe-dev
mailing list