| Summary: | Fix graphics/blender build with clang 3.6.0 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Dimitry Andric <dim> | ||||
| Component: | Individual Port(s) | Assignee: | Marcus von Appen <mva> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Many People | Flags: | bugzilla:
maintainer-feedback?
(mva) |
||||
| Priority: | --- | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 197395 | ||||||
| Attachments: |
|
||||||
|
Description
Dimitry Andric
2015-03-09 07:58:20 UTC
Does that fix still compile cleanly on older clang versions and GCC? (In reply to Marcus von Appen from comment #1) This patch only changes behavior for compilers that default to C11, e.g. clang 3.6.0 or higher. For gcc, which defaults to "gnu89", and earlier versions of clang, which default to "gnu99", there should be no difference. That is, unless the port somehow manually enables -std=c11 somewhere during its configure phase? I can't recall whether that is the case. I currently do not have the resources to test this myself. Is this still relevant for the recent 2.74 update to graphics/blender? As far as I can see, upstream blender has still not fixed this, so yes, this patch still needs to be applied. Close: graphics/blender builds find with clang 3.6.0 since the update to version 2.74 |