WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 149406
147132
Use of uninitialized value $type in IDLParser.pm
https://bugs.webkit.org/show_bug.cgi?id=147132
Summary
Use of uninitialized value $type in IDLParser.pm
Michael Catanzaro
Reported
2015-07-20 17:16:49 PDT
I don't understand Perl nor what is going on here, but it looks bad: [622/1038] Generating ../../DerivedSou...ces/webkitdom/WebKitDOMCharacterData.h Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302. Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308. Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302. Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308. Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302. Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308. [623/1038] Generating ../../DerivedSou...rces/webkitdom/WebKitDOMDocumentType.h Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302. Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308. Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302. Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308. Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302. Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308. [625/1038] Generating ../../DerivedSou.../webkitdom/WebKitDOMDocumentFragment.h Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302. Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308. Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302. Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308. [631/1038] Generating ../../DerivedSou...dSources/webkitdom/WebKitDOMDocument.h Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302. Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308. Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302. Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308. [633/1038] Generating ../../DerivedSou...edSources/webkitdom/WebKitDOMElement.h Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302. Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308. Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302. Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308. Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302. Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308. Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302. Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308. Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302. Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308. Nothing has changed here recently, so I have no clue why I am only now seeing the warnings.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-08-10 10:29:32 PDT
I could only find two changes to IDLParser.pm near July 2015:
https://github.com/WebKit/WebKit/commit/05fa8411002fefbd0a66859046f0ac4a78e3bb2f
https://github.com/WebKit/WebKit/commit/1d068a4b1cc7149de5fc6fc443950fb085d004ed
First one seems to be more about fixing these type of warnings. Just wanted to share what I could fine and I could be completely but just wanted to update. Thanks!
Alexey Proskuryakov
Comment 2
2022-08-19 16:49:27 PDT
Yes,
167542@main
was the fix. *** This bug has been marked as a duplicate of
bug 149406
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug