Bug 27056 - Alternate bool operator for codewarrior compiler (WINSCW)
Summary: Alternate bool operator for codewarrior compiler (WINSCW)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: S60 Emulator S60 3rd edition
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 27065
  Show dependency treegraph
 
Reported: 2009-07-07 19:10 PDT by Norbert Leser
Modified: 2009-07-15 08:18 PDT (History)
3 users (show)

See Also:


Attachments
Code patch for OwnArrayPtr.h (1.33 KB, patch)
2009-07-07 19:10 PDT, Norbert Leser
hausmann: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Norbert Leser 2009-07-07 19:10:16 PDT
Created attachment 32416 [details]
Code patch for OwnArrayPtr.h

Compiler (latest build b482) reports error for UnspecifiedBoolType construct:
"illegal explicit conversion from 'WTF::OwnArrayPtr<JSC::Register>' to 'bool'"

Similar conditional (COMPILER(WINSCW)) code fixes have already been applied to PassRefPtr.h and RefPtr.h
Comment 1 Eric Seidel (no email) 2009-07-10 23:15:59 PDT
Comment on attachment 32416 [details]
Code patch for OwnArrayPtr.h

Where does it report these errors?  And wny only for OwnArrayPtr?
Comment 2 Simon Hausmann 2009-07-15 08:16:05 PDT
Comment on attachment 32416 [details]
Code patch for OwnArrayPtr.h

r=me, this is identical to the fix in r38391 / #38391
Comment 3 Simon Hausmann 2009-07-15 08:18:53 PDT
Landed in r45911