[webkit-dev] New IDL return type

David Kilzer ddkilzer at webkit.org
Wed Jun 11 06:50:07 PDT 2008


[Moving back onto webkit-dev.  I couldn't reply with the correct "From" address using my iPhone yesterday.]

On Wed, 6/11/08, Michelangelo De Simone <m.des at mac.com> wrote:

> Il giorno 11/giu/08, alle ore 00:36, David Kilzer ha
> scritto:
> 
> > Look at WebCore/DerivedSources.make for where to add
> > your IDL file.
> 
> That was my first tought as well, but I always get this
> error when I  
> uncomment the new validity attribute in
> HTMLInputElement.idl: http://paste.lisp.org/display/62048
> 
> Any idea to help me out? I'm desperate.:-)

My guess is that DOMHTMLInputElement.mm needs an #import statement to compile without warnings.  Look in WebCore/bindings/scripts/CodeGeneratorObjC.pm to see how #import statements are included in generated sources, and make the appropriate change (either in the *.idl file or in the Perl module) to get it included.

Note that you may manually attempt to fix the compile error by modifying the generated source to DOMHTMLInputElement.mm and recompiling.  (Xcode or "make" should not overwrite the file if it's newer than the files used to create it.)

Dave




More information about the webkit-dev mailing list