We recently changes size_t on wasm from int to long which
had the effect of making the type of size_t (long) not match either
int32_t or int64_t.
This solution is not very elegant but fixes the build issues that
resulted from this change.
Differential D50477
WIP: Ensure that the type of size_t is represended as one of the fixed width types AbandonedPublic Authored by sbc100 on Aug 8 2018, 2:10 PM.
Details
Summary We recently changes size_t on wasm from int to long which This solution is not very elegant but fixes the build issues that
Diff Detail
Event TimelineHerald added subscribers: cfe-commits, sunfish, aheejin. · View Herald TranscriptAug 8 2018, 2:10 PM Comment Actions I don't understand the desire for this logic. Why can't wasm override the rest of the types if it wants to have something special? Comment Actions Please ignore this change, I had thought we wanted size_t to match either int32_t or int64_t, but it turns out that isn't a requirement and that code that expects this to be true needs fixing.
Revision Contents
Diff 159792 lib/Frontend/InitPreprocessor.cpp
|