Last Comment Bug 678054 - Fix c++0x initializer list error found by clang
: Fix c++0x initializer list error found by clang
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Widget: Cocoa (show other bugs)
: unspecified
: x86_64 Linux
: -- normal (vote)
: mozilla8
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-10 14:18 PDT by Rafael Ávila de Espíndola (:espindola) (not reading bugmail)
Modified: 2011-08-12 07:23 PDT (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
fix build (1.13 KB, patch)
2011-08-10 14:18 PDT, Rafael Ávila de Espíndola (:espindola) (not reading bugmail)
jaas: review+
Details | Diff | Review

Description Rafael Ávila de Espíndola (:espindola) (not reading bugmail) 2011-08-10 14:18:29 PDT
Created attachment 552213 [details] [diff] [review]
fix build

Fix build with clang and c++0x.
    The first element in a NSPoint is a CGFloat, so in c++0x we need an
    explicit cast when using aX in an initializer list.
Comment 1 Matt Brubeck (:mbrubeck) 2011-08-12 07:23:47 PDT
https://hg.mozilla.org/mozilla-central/rev/5f27c21fe7f0

Note You need to log in before you can comment on or make changes to this bug.