Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Issue 2612933003: Enable type_traits fallback for all < gcc 5.0 releases. (Closed)

Created:
3 years, 11 months ago by sof
Modified:
3 years, 11 months ago
Reviewers:
danakj, reveman
CC:
chromium-reviews, vmpstr+watch_chromium.org, Mostyn Bramley-Moore
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable type_traits fallback for all < gcc 5.0 releases. Fixes compilation failures with various < gcc-5.0 toolchains lacking std::is_trivially_copyable<T>. Without it, compile errors like ../../base/template_util.h:189:36: error: no type named 'is_trivially_copyable' in namespace 'std' using is_trivially_copyable = std::is_trivially_copyable<T>; ~~~~~^ ../../base/template_util.h:189:57: error: expected ';' after alias declaration using is_trivially_copyable = std::is_trivially_copyable<T>; ^ ; will be encountered. R=danakj BUG=555754 Review-Url: https://codereview.chromium.org/2612933003 Cr-Commit-Position: refs/heads/master@{#441985} Committed: https://chromium.googlesource.com/chromium/src/+/7c03b2072b7497184e8a1127c8ab443aeae42a96

Patch Set 1 #

Patch Set 2 : comment tweak #

Total comments: 4

Patch Set 3 : only need __GNUC__ #

Total comments: 2

Patch Set 4 : adjust comment #

Total comments: 2

Patch Set 5 : fix __GNUC__ spelling.. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -6 lines) Patch
M base/template_util.h View 1 2 3 4 1 chunk +8 lines, -6 lines 0 comments Download

Messages

Total messages: 37 (23 generated)
Mostyn Bramley-Moore
https://codereview.chromium.org/2612933003/diff/20001/base/template_util.h File base/template_util.h (right): https://codereview.chromium.org/2612933003/diff/20001/base/template_util.h#newcode31 base/template_util.h:31: #if _GNUC_VER < 500 || (defined(__GLIBCXX__) && __GLIBCXX__ == ...
3 years, 11 months ago (2017-01-05 10:53:54 UTC) #6
sof
https://codereview.chromium.org/2612933003/diff/20001/base/template_util.h File base/template_util.h (right): https://codereview.chromium.org/2612933003/diff/20001/base/template_util.h#newcode31 base/template_util.h:31: #if _GNUC_VER < 500 || (defined(__GLIBCXX__) && __GLIBCXX__ == ...
3 years, 11 months ago (2017-01-05 10:57:38 UTC) #7
Mostyn Bramley-Moore
https://codereview.chromium.org/2612933003/diff/20001/base/template_util.h File base/template_util.h (right): https://codereview.chromium.org/2612933003/diff/20001/base/template_util.h#newcode31 base/template_util.h:31: #if _GNUC_VER < 500 || (defined(__GLIBCXX__) && __GLIBCXX__ == ...
3 years, 11 months ago (2017-01-05 12:26:32 UTC) #10
sof
https://codereview.chromium.org/2612933003/diff/20001/base/template_util.h File base/template_util.h (right): https://codereview.chromium.org/2612933003/diff/20001/base/template_util.h#newcode31 base/template_util.h:31: #if _GNUC_VER < 500 || (defined(__GLIBCXX__) && __GLIBCXX__ == ...
3 years, 11 months ago (2017-01-05 12:35:29 UTC) #11
sof
please take a look. Followup to r440791 - i'm unable to build with 4.9.4. It ...
3 years, 11 months ago (2017-01-05 12:37:49 UTC) #13
danakj
https://codereview.chromium.org/2612933003/diff/40001/base/template_util.h File base/template_util.h (right): https://codereview.chromium.org/2612933003/diff/40001/base/template_util.h#newcode31 base/template_util.h:31: #if (defined(__GNUC__) && __GNUC_ < 5) || \ I ...
3 years, 11 months ago (2017-01-05 16:30:15 UTC) #16
sof
https://codereview.chromium.org/2612933003/diff/40001/base/template_util.h File base/template_util.h (right): https://codereview.chromium.org/2612933003/diff/40001/base/template_util.h#newcode31 base/template_util.h:31: #if (defined(__GNUC__) && __GNUC_ < 5) || \ On ...
3 years, 11 months ago (2017-01-05 18:59:44 UTC) #17
danakj
https://codereview.chromium.org/2612933003/diff/60001/base/template_util.h File base/template_util.h (right): https://codereview.chromium.org/2612933003/diff/60001/base/template_util.h#newcode34 base/template_util.h:34: #if (defined(__GNUC__) && __GNUC_ < 5) || \ This ...
3 years, 11 months ago (2017-01-05 19:19:55 UTC) #21
sof
https://codereview.chromium.org/2612933003/diff/60001/base/template_util.h File base/template_util.h (right): https://codereview.chromium.org/2612933003/diff/60001/base/template_util.h#newcode34 base/template_util.h:34: #if (defined(__GNUC__) && __GNUC_ < 5) || \ On ...
3 years, 11 months ago (2017-01-05 19:25:18 UTC) #22
sof
extended the description to include error message details.
3 years, 11 months ago (2017-01-05 22:00:03 UTC) #28
sof
ping, it'd be good to cleanly be able to build ToT again.
3 years, 11 months ago (2017-01-06 16:30:20 UTC) #30
danakj
Oops meant to LGTM, thanks
3 years, 11 months ago (2017-01-06 16:31:33 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2612933003/80001
3 years, 11 months ago (2017-01-06 18:27:42 UTC) #34
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 18:35:31 UTC) #37
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/7c03b2072b7497184e8a1127c8ab...

Powered by Google App Engine
This is Rietveld 408576698