| Summary: | Enable STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE for GCC | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Csaba Osztrogonác <ossy> | ||||||
| Component: | New Bugs | Assignee: | Csaba Osztrogonác <ossy> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | achristensen, andersca, bfulgham, commit-queue, kling, ossy | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 120785 | ||||||||
| Attachments: |
|
||||||||
|
Description
Csaba Osztrogonác
2015-07-10 02:57:29 PDT
Created attachment 256572 [details]
Patch
Comment on attachment 256572 [details]
Patch
What port is building with non-clang gcc? I’m not sure we should do the work to support that any more unless there is real benefit.
(In reply to comment #2) > Comment on attachment 256572 [details] > Patch > > What port is building with non-clang gcc? I’m not sure we should do the work > to support that any more unless there is real benefit. EFL and GTK. Comment on attachment 256572 [details]
Patch
I think a better solution would be to just reimplement std::is_trivially_destructible in terms of std::has_trivial_destructor for MSVC and get rid of the compiler checks altogether.
Created attachment 257273 [details]
Patch
Additionally removed the MSVC workaround since MSVC 2012 already supports std::is_trivially_destructible.
(In reply to comment #5) > Created attachment 257273 [details] > Patch > > Additionally removed the MSVC workaround since MSVC 2012 already supports > std::is_trivially_destructible. And now MSVC 2013 is mandatory - https://lists.webkit.org/pipermail/webkit-dev/2013-December/025941.html Comment on attachment 257273 [details]
Patch
This looks good! Thanks.
Comment on attachment 257273 [details] Patch Clearing flags on attachment: 257273 Committed r187167: <http://trac.webkit.org/changeset/187167> All reviewed patches have been landed. Closing bug. |