[cfe-dev] Newly failing tests on Windows, assert in PCHReader.cpp, new argument

Fariborz Jahanian fjahanian at apple.com
Wed Nov 11 12:57:30 PST 2009


We already use stddef.h for such types as ptrdiff_t. Let's do it for  
size_t as well.

- Fariborz

On Nov 11, 2009, at 12:31 PM, John Thompson wrote:

> 30 tests are failing on Windows, 27 newly since Monday.
>
> 25 of them are due to an assert at line 172 in PCHReader.cpp.
>
> The problem is that the file path appended to the Predefines has  
> been converted to use double-'\', whereas the path in  
> OriginalFileName used single '/'.
>
> I'm not sure which side to change.
>
> The other is in CodeGenCXX/new-operator-phi.cpp:
>
> 1>  Line 4: 'operator new' takes type size_t ('unsigned int') as  
> first parameter
> I'm not sure what you want to do here, whether to change it to use  
> size_t and to include stddef.h, or put in a platform conditional.
> -John
>
> -- 
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091111/05baf1eb/attachment.html>


More information about the cfe-dev mailing list