DescriptionDisable kSSizeMaxConst COMPILE_ASSERT() for Android / Mac / IOS
The kSSizeMaxConst COMPILE_ASSERT() was previously disabled for clang only, due
to clang giving a build error on Android / Mac / IOS. gcc is affected by the
same problem so this CL disables the COMPILE_ASSERT() for Android / Mac / IOS
platforms, instead of doing it for a specific compiler.
The reason why this COMPILE_ASSERT() does not build on those platforms is that
static_assert only works with compile-time constants, but mac uses libstdc++4.2
and android uses stlport, which both don't mark numeric_limits::max() as
constexpr.
R=Nico
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=239352
Patch Set 1 #Patch Set 2 : Disable for Mac / Android / IOS instead of clang #
Total comments: 2
Patch Set 3 : Update comment and add cast #Messages
Total messages: 12 (0 generated)
|