bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

automake warning useless use of /d modifier in transliteration in Wrap.p


From: Jay K
Subject: automake warning useless use of /d modifier in transliteration in Wrap.pm
Date: Wed, 18 Aug 2010 20:01:32 +0000

warning, not error, seems to work ok


bash-4.1$ autoreconf
Useless use of /d modifier in transliteration operator at 
/home/jayk/share/automake-1.11/Automake/Wrap.pm line 58.



bash-4.1$ automake --version
Useless use of /d modifier in transliteration operator at 
/home/jayk/share/automake-1.11/Automake/Wrap.pm line 58.
automake (GNU automake) 1.11
...

bash-4.1$ autoconf --version
autoconf (GNU Autoconf) 2.67
...



sub tab_length($)
{
  my ($txt) = @_;
  my $len = length ($txt);
  $len += 7 * ($txt =~ tr/\t/\t/d);       # here 
  return $len;
}


I guess the point is to count the characters, not change them, or something.



bash-4.1$ uname -a
OSF1 hostname V5.1 732 alpha alpha Tru64



bash-4.1$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/jayk/libexec/gcc/alphaev67-dec-osf5.1/4.5.0/lto-wrapper
Target: alphaev67-dec-osf5.1
Configured with: /home/jayk/src/gcc-4.5.0/configure -disable-nls 
-prefix=/home/jayk
Thread model: posix
gcc version 4.5.0 (GCC) 



bash-4.1$ perl -v
This is perl 5, version 12, subversion 1 (v5.12.1) built for alpha-dec_osf
...




 - Jay
                                          


reply via email to

[Prev in Thread] Current Thread [Next in Thread]