After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 92516 - perl-5.8.0 break file generation
perl-5.8.0 break file generation
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: build
2.0
Other opensolaris
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2002-09-04 20:39 UTC by Michael v. Szombathely
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix sub prototypes in perl scripts, perl 5.8 got pickier about this (10.84 KB, patch)
2002-09-07 22:17 UTC, mmagallo
none Details | Review

Description Michael v. Szombathely 2002-09-04 20:39:00 UTC
Have unintentially perl-5.8.0 results in a desaster:

/home/software/bin/perl -I../../tools/pm ../../tools/gtkmmproc -I
../../tools/m4 --defs .  thread . ./../glibmm
Illegal character in prototype for Enum::parse_values : $,$ at
../../tools/pm/Enum.pm line 78.
Illegal character in prototype for Enum::build_element_list : $,$,$,$ at
../../tools/pm/Enum.pm line 151.
Illegal character in prototype for GtkDefs::lookup_property : $,$ at
../../tools/pm/GtkDefs.pm line 305.
Illegal character in prototype for GtkDefs::Function::parse_param : $,$ at
../../tools/pm/GtkDefs.pm line 436.
Illegal character in prototype for Function::new : $,$ at
../../tools/pm/Function.pm line 53.
Illegal character in prototype for Function::new_ctor : $,$ at
../../tools/pm/Function.pm line 106.
Illegal character in prototype for Function::parse_param : $,$ at
../../tools/pm/Function.pm line 156.
Illegal character in prototype for Function::add_parameter_autoname : $,$
at ../../tools/pm/Function.pm line 283.
Illegal character in prototype for Function::add_parameter : $,$,$ at
../../tools/pm/Function.pm line 292.
Illegal character in prototype for WrapParser::error : $,$ at
../../tools/pm/WrapParser.pm line 152.
Illegal character in prototype for WrapParser::on_class : $,$class_command
at ../../tools/pm/WrapParser.pm line 401.
Illegal character in prototype for WrapParser::on_wrap_vfunc : $,$ at
../../tools/pm/WrapParser.pm line 888.
Illegal character in prototype for WrapParser::output_wrap_check :
$,$,$,$,$,$ at ../../tools/pm/WrapParser.pm line 1003.
Illegal character in prototype for WrapParser::output_wrap_signal : $,$,$,$,$,$
at ../../tools/pm/WrapParser.pm line 1027.
Illegal character in prototype for WrapParser::output_wrap_vfunc :
$,$,$,$,$,$ at ../../tools/pm/WrapParser.pm line 1078.
Use of uninitialized value in string eq at ../../tools/pm/WrapParser.pm
line 175.

The 'illegal character in prototype' message come from the prototype like
for subs, eg:

sub parse_values($, $)
Comment 1 Michael v. Szombathely 2002-09-04 20:46:36 UTC
By changing

  sub parse_values($, $)

to

  sub parse_values

it works, The 'uninitialized value' error message seem to be more
difficult to understand.


  
Comment 2 Murray Cumming 2002-09-06 12:41:51 UTC
A real patch would be nice. This does not seem to be very important 
because it only affects building from cvs.
Comment 3 mmagallo 2002-09-07 22:17:14 UTC
Created attachment 10956 [details] [review]
Fix sub prototypes in perl scripts, perl 5.8 got pickier about this
Comment 4 Murray Cumming 2002-09-10 11:32:38 UTC
Applied. Thanks.