Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"use integer" caused unneccessary uninitialized warning in += operator. #1807

Closed
p5pRT opened this issue Apr 10, 2000 · 2 comments
Closed

"use integer" caused unneccessary uninitialized warning in += operator. #1807

p5pRT opened this issue Apr 10, 2000 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Apr 10, 2000

Migrated from rt.perl.org#3067 (status was 'resolved')

Searchable as RT3067$

@p5pRT
Copy link
Author

p5pRT commented Apr 10, 2000

From @audreyt

Created by autrijus@autrijus.org

"use integer" caused unneccessary uninitialized warning in += operator.

That is​:
my $a;
$a += 10;

won't raise 'use of uninitialized value' warning when -w is set, but under
'use integer', it will.

Perl Info

Flags:
    category=core
    severity=medium

Site configuration information for perl v5.6.0:

Summary of my perl5 (revision 5 version 6 subversion 0) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=undef d_sfio=undef uselargefiles=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cl', optimize='-O1 -MD -DNDEBUG', gccversion=
    cppflags='-DWIN32'
    ccflags
='-O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT  -DPERL_
IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='link', ldflags
'-nologo -nodefaultlib -release  -libpath:"c:\perl\lib\CORE"  -machine:x86'
    libpth=\\AUTRIHOME\X\lib
    libs=  oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib
uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib
msvcrt.lib
    libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ',
ddlflags='-dll -nologo -nodefaultlib -release  -libpath:"c:\perl\lib\CORE"  
-machine:x86'

Locally applied patches:



@INC for perl v5.6.0:
    C:/perl/lib
    C:/perl/site/lib
    .


Environment for perl v5.6.0:
    HOME (unset)
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)

PATH=C:\PROGRA~1\MICROS~3\COMMON\msdev98\BIN;C:\PROGRA~1\MICROS~3\VC98\BIN;C
:\PROGRA~1\MICROS~3\COMMON\TOOLS\WIN95;C:\PROGRA~1\MICROS~3\COMMON\TOOLS;C:\
WINDOWS\SYSTEM;C:\PROGRA~1\MICROS~3\COMMON\msdev98\BIN;C:\PROGRA~1\MICROS~3\
VC98\BIN;C:\PROGRA~1\MICROS~3\COMMON\TOOLS\WIN95;C:\PROGRA~1\MICROS~3\COMMON
\TOOLS;D:\BIN\PAGEMGR\IMGFOLIO;D:\BIN\PAGEMGR;C:\WINDOWS;C:\WINDOWS\COMMAND;
C:\WINDOWS\SYSTEM32;C:\PERL\BIN;D:\BIN\ULTRAE~1;"C:\PROGRA~1\MICROS~4\COMMON
\VSS\WIN32";D:\BIN\4NT\
    PERL_BADLANG (unset)
    SHELL (unset)




@p5pRT
Copy link
Author

p5pRT commented Oct 30, 2000

From The RT System itself

Fixed in post-5.7.0 Perl, from which the patch will hopefully get to 5.6.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant