Change 34994 by [EMAIL PROTECTED] on 2008/12/03 14:55:52 Subject: [PATCH] Configure detection of __attribute__((deprecated)) From: "Rafael Garcia-Suarez" <[EMAIL PROTECTED]> Date: Wed, 3 Dec 2008 12:51:36 +0100 Message-ID: <[EMAIL PROTECTED]>
Affected files ... ... //depot/perl/Configure#713 edit ... //depot/perl/Cross/config.sh-arm-linux#34 edit ... //depot/perl/NetWare/config.wc#47 edit ... //depot/perl/Porting/Glossary#199 edit ... //depot/perl/Porting/config.sh#179 edit ... //depot/perl/config_h.SH#353 edit ... //depot/perl/configure.com#291 edit ... //depot/perl/epoc/config.sh#109 edit ... //depot/perl/perl.h#849 edit ... //depot/perl/plan9/config_sh.sample#26 edit ... //depot/perl/symbian/config.sh#32 edit ... //depot/perl/uconfig.sh#91 edit ... //depot/perl/win32/config.bc#190 edit ... //depot/perl/win32/config.ce#19 edit ... //depot/perl/win32/config.gc#187 edit ... //depot/perl/win32/config.vc#197 edit ... //depot/perl/win32/config.vc64#67 edit Differences ... ==== //depot/perl/Configure#713 (xtext) ==== Index: perl/Configure --- perl/Configure#712~34950~ 2008-11-27 23:52:03.000000000 -0800 +++ perl/Configure 2008-12-03 06:55:52.000000000 -0800 @@ -25,7 +25,7 @@ # $Id: Head.U 6 2006-08-25 22:21:46Z rmanfredi $ # -# Generated on Fri Nov 28 08:39:51 CET 2008 [metaconfig 3.5 PL0] +# Generated on Wed Dec 3 15:26:54 CET 2008 [metaconfig 3.5 PL0] # (with additional metaconfig patches by [EMAIL PROTECTED]) cat >c1$$ <<EOF @@ -361,6 +361,7 @@ d_alarm='' asctime_r_proto='' d_asctime_r='' +d_attribute_deprecated='' d_attribute_format='' d_attribute_malloc='' d_attribute_nonnull='' @@ -10500,6 +10501,34 @@ eval $setvar $rm -f attrib* +: Look for GCC-style attribute deprecated +case "$d_attribute_deprecated" in +'') +echo " " +echo "Checking whether your compiler can handle __attribute__((deprecated)) ..." >&4 +$cat >attrib.c <<'EOCP' +#include <stdio.h> +int I_am_deprecated(void) __attribute__((deprecated)); +EOCP +if $cc $ccflags -c attrib.c >attrib.out 2>&1 ; then + if $contains 'warning' attrib.out >/dev/null 2>&1; then + echo "Your C compiler doesn't support __attribute__((deprecated))." + val="$undef" + else + echo "Your C compiler supports __attribute__((deprecated))." + val="$define" + fi +else + echo "Your C compiler doesn't seem to understand __attribute__ at all." + val="$undef" +fi +;; +*) val="$d_attribute_deprecated" ;; +esac +set d_attribute_deprecated +eval $setvar +$rm -f attrib* + : Look for GCC-style attribute warn_unused_result case "$d_attribute_warn_unused_result" in '') @@ -22136,6 +22165,7 @@ d_asctime_r='$d_asctime_r' d_atolf='$d_atolf' d_atoll='$d_atoll' +d_attribute_deprecated='$d_attribute_deprecated' d_attribute_format='$d_attribute_format' d_attribute_malloc='$d_attribute_malloc' d_attribute_nonnull='$d_attribute_nonnull' ==== //depot/perl/Cross/config.sh-arm-linux#34 (text) ==== Index: perl/Cross/config.sh-arm-linux --- perl/Cross/config.sh-arm-linux#33~34950~ 2008-11-27 23:52:03.000000000 -0800 +++ perl/Cross/config.sh-arm-linux 2008-12-03 06:55:52.000000000 -0800 @@ -97,6 +97,7 @@ d_asctime_r='undef' d_atolf='undef' d_atoll='define' +d_attribute_deprecated='undef' d_attribute_format='undef' d_attribute_malloc='undef' d_attribute_nonnull='undef' ==== //depot/perl/NetWare/config.wc#47 (text) ==== Index: perl/NetWare/config.wc --- perl/NetWare/config.wc#46~34950~ 2008-11-27 23:52:03.000000000 -0800 +++ perl/NetWare/config.wc 2008-12-03 06:55:52.000000000 -0800 @@ -99,6 +99,7 @@ d_asctime_r='undef' d_atolf='undef' d_atoll='undef' +d_attribute_deprecated='undef' d_attribute_format='undef' d_attribute_malloc='undef' d_attribute_nonnull='undef' ==== //depot/perl/Porting/Glossary#199 (text) ==== Index: perl/Porting/Glossary --- perl/Porting/Glossary#198~34950~ 2008-11-27 23:52:03.000000000 -0800 +++ perl/Porting/Glossary 2008-12-03 06:55:52.000000000 -0800 @@ -142,7 +142,7 @@ bash (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. bin (bin.U): This variable holds the name of the directory in which the user wants @@ -246,7 +246,7 @@ chgrp (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. chmod (Loc.U): This variable is used internally by Configure to determine the @@ -255,7 +255,7 @@ chown (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. clocktype (d_times.U): This variable holds the type returned by times(). It can be long, @@ -269,7 +269,7 @@ compress (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. contains (contains.U): This variable holds the command to do a grep with a proper return @@ -284,7 +284,7 @@ cpio (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. cpp (Loc.U): This variable is used internally by Configure to determine the @@ -406,6 +406,11 @@ This variable conditionally defines the HAS_ATOLL symbol, which indicates to the C program that the atoll() routine is available. +d_attribute_deprecated (d_attribut.U): + This variable conditionally defines HASATTRIBUTE_DEPRECATED, which + indicates that GCC can handle the attribute for marking deprecated + APIs + d_attribute_format (d_attribut.U): This variable conditionally defines HASATTRIBUTE_FORMAT, which indicates the C compiler can check for printf-like formats. @@ -2507,7 +2512,7 @@ emacs (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. endgrent_r_proto (d_endgrent_r.U): This variable encodes the prototype of endgrent_r. @@ -2584,7 +2589,7 @@ find (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. firstmakefile (Unix.U): This variable defines the first file searched by make. On unix, @@ -2594,7 +2599,7 @@ flex (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. fpossize (fpossize.U): This variable contains the size of a fpostype in bytes. @@ -3300,7 +3305,7 @@ inews (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. initialinstalllocation (bin.U): When userelocatableinc is true, this variable holds the location @@ -3514,7 +3519,7 @@ ksh (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. ld (dlsrc.U): This variable indicates the program to be used to link @@ -3596,11 +3601,11 @@ line (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. lint (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. lkflags (ccflags.U): This variable contains any additional C partial linker flags desired by @@ -3650,11 +3655,11 @@ lp (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. lpr (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. ls (Loc.U): This variable is used internally by Configure to determine the @@ -3689,11 +3694,11 @@ mail (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. mailx (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. make (Loc.U): This variable is used internally by Configure to determine the @@ -3798,7 +3803,7 @@ mv (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. myarchname (archname.U): This variable holds the architecture name computed by Configure in @@ -3998,7 +4003,7 @@ perl (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. perl5 (perl5.U): This variable contains the full path (if any) to a previously @@ -4097,11 +4102,11 @@ pmake (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. pr (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. prefix (prefix.U): This variable holds the name of the directory below which the @@ -4203,7 +4208,7 @@ rmail (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. run (Cross.U): This variable contains the command used by Configure @@ -4255,7 +4260,7 @@ sendmail (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. setgrent_r_proto (d_setgrent_r.U): This variable encodes the prototype of setgrent_r. @@ -4319,7 +4324,7 @@ shar (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. sharpbang (spitshell.U): This variable contains the string #! if this system supports that @@ -4533,7 +4538,7 @@ sleep (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. sLOCALTIME_max (time_size.U): This variable defines the maximum value of the time_t offset that @@ -4545,7 +4550,7 @@ smail (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. so (so.U): This variable holds the extension used to identify shared libraries @@ -4724,7 +4729,7 @@ submit (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. subversion (patchlevel.U): The subversion level of this package. @@ -4741,11 +4746,11 @@ tail (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. tar (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. targetarch (Cross.U): If cross-compiling, this variable contains the target architecture. @@ -4753,11 +4758,11 @@ tbl (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. tee (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. test (Loc.U): This variable is used internally by Configure to determine the @@ -4802,7 +4807,7 @@ troff (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. ttyname_r_proto (d_ttyname_r.U): This variable encodes the prototype of ttyname_r. @@ -5017,7 +5022,7 @@ uuname (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. uvoformat (perlxvf.U): This variable contains the format string used for printing @@ -5189,7 +5194,7 @@ vi (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. voidflags (voidflags.U): This variable contains the eventual value of the VOIDFLAGS symbol, @@ -5211,7 +5216,7 @@ zcat (Loc.U): This variable is defined but not used by Configure. - The value is a plain '' and is not useful. + The value is the empty string and is not useful. zip (Loc.U): This variable is used internally by Configure to determine the ==== //depot/perl/Porting/config.sh#179 (text) ==== Index: perl/Porting/config.sh --- perl/Porting/config.sh#178~34777~ 2008-11-08 05:06:53.000000000 -0800 +++ perl/Porting/config.sh 2008-12-03 06:55:52.000000000 -0800 @@ -8,9 +8,9 @@ # Package name : perl5 # Source directory : . -# Configuration time: Wed Jan 23 09:43:56 CET 2008 +# Configuration time: Wed Dec 3 15:15:56 CET 2008 # Configured by : merijn -# Target system : linux nb09 2.6.22.13-0.3-default #1 smp 20071119 15:02:58 utc i686 i686 i386 gnulinux +# Target system : linux nb09 2.6.22.19-0.1-default #1 smp 2008-10-14 22:17:43 +0200 i686 i686 i386 gnulinux : Configure command line arguments. config_arg0='./Configure' @@ -124,6 +124,7 @@ d_asctime_r='undef' d_atolf='undef' d_atoll='define' +d_attribute_deprecated='define' d_attribute_format='define' d_attribute_malloc='define' d_attribute_nonnull='define' @@ -137,7 +138,7 @@ d_bsdgetpgrp='undef' d_bsdsetpgrp='undef' d_builtin_choose_expr='define' -d_builtin_expect='undef' +d_builtin_expect='define' d_bzero='define' d_c99_variadic_macros='define' d_casti32='undef' @@ -162,7 +163,7 @@ d_ctime_r='undef' d_cuserid='define' d_dbl_dig='define' -d_dbminitproto='undef' +d_dbminitproto='define' d_difftime64='undef' d_difftime='define' d_dir_dd_fd='undef' @@ -347,7 +348,7 @@ d_msync='define' d_munmap='define' d_mymalloc='undef' -d_ndbm='undef' +d_ndbm='define' d_ndbm_h_uses_prototypes='undef' d_nice='define' d_nl_langinfo='define' @@ -368,7 +369,7 @@ d_printf_format_null='define' d_procselfexe='define' d_pseudofork='undef' -d_pthread_atfork='define' +d_pthread_atfork='undef' d_pthread_attr_setscope='define' d_pthread_yield='define' d_pwage='undef' @@ -555,7 +556,7 @@ drand01='drand48()' drand48_r_proto='0' dtrace='' -dynamic_ext='attrs B Compress/Raw/Zlib Cwd Data/Dumper DB_File Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call GDBM_File Hash/Util I18N/Langinfo IO IPC/SysV List/Util Math/BigInt/FastCalc MIME/Base64 Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex threads Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/Typemap threads/shared Hash/Util/FieldHash' +dynamic_ext='attrs B Compress/Raw/Zlib Cwd Data/Dumper DB_File Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call GDBM_File Hash/Util I18N/Langinfo IO IPC/SysV List/Util Math/BigInt/FastCalc MIME/Base64 NDBM_File ODBM_File Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex threads Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/Typemap threads/shared Hash/Util/FieldHash' eagain='EAGAIN' ebcdic='undef' echo='echo' @@ -570,7 +571,8 @@ eunicefix=':' exe_ext='' expr='expr' -extensions='attrs B Compress/Raw/Zlib Cwd Data/Dumper DB_File Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call GDBM_File Hash/Util I18N/Langinfo IO IPC/SysV List/Util Math/BigInt/FastCalc MIME/Base64 Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex threads Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/Typemap threads/shared Hash/Util/FieldHash Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib' +extensions='attrs B Compress/Raw/Zlib Cwd Data/Dumper DB_File Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call GDBM_File Hash/Util I18N/Langinfo IO IPC/SysV List/Util Math/BigInt/FastCalc MIME/Base64 NDBM_File ODBM_File Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex threads Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/Typemap threads/shared Hash/Util/FieldHash Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib Module/Pluggable Test/Harness' +extern_C='extern' extras='' fflushNULL='define' fflushall='undef' @@ -640,7 +642,7 @@ i_bsdioctl='' i_crypt='define' i_db='define' -i_dbm='undef' +i_dbm='define' i_dirent='define' i_dld='undef' i_dlfcn='define' @@ -664,7 +666,7 @@ i_math='define' i_memory='undef' i_mntent='define' -i_ndbm='undef' +i_ndbm='define' i_netdb='define' i_neterrno='undef' i_netinettcp='define' @@ -764,8 +766,8 @@ known_extensions='attrs B Compress/Raw/Zlib Cwd Data/Dumper DB_File Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call GDBM_File Hash/Util I18N/Langinfo IO IPC/SysV List/Util Math/BigInt/FastCalc MIME/Base64 NDBM_File ODBM_File Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex threads Time/HiRes Time/Piece Unicode/Normalize Win32 Win32API/File Win32CORE XS/APItest XS/Typemap threads/shared Hash/Util/FieldHash' ksh='' ld='cc' -lddlflags='-shared -O2 -L/usr/local/lib' -ldflags=' -fstack-protector -L/usr/local/lib' +lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector' +ldflags='-L/usr/local/lib -fstack-protector' ldflags_uselargefiles='' ldlibpthname='LD_LIBRARY_PATH' less='less' @@ -773,12 +775,12 @@ libc='/lib/libc-2.7.so' libperl='libperl.a' libpth='/usr/local/lib /lib /usr/lib' -libs='-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc' +libs='-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat' libsdirs=' /usr/lib' -libsfiles=' libpthread.so libnsl.so libgdbm.so libdb.so libdl.so libm.so libcrypt.so libutil.so libc.so' -libsfound=' /usr/lib/libpthread.so /usr/lib/libnsl.so /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so' +libsfiles=' libnsl.so libgdbm.so libdb.so libdl.so libm.so libcrypt.so libutil.so libc.so libgdbm_compat.so' +libsfound=' /usr/lib/libnsl.so /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so /usr/lib/libgdbm_compat.so' libspath=' /usr/local/lib /lib /usr/lib' -libswanted='cl pthread sfio socket inet nsl nm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD' +libswanted='sfio socket inet nsl nm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat' libswanted_uselargefiles='' line='' lint='' @@ -824,7 +826,7 @@ myarchname='i686-linux' mydomain='.yourplace.com' myhostname='yourhost' -myuname='linux nb09 2.6.22.13-0.3-default #1 smp 20071119 15:02:58 utc i686 i686 i386 gnulinux ' +myuname='linux nb09 2.6.22.19-0.1-default #1 smp 2008-10-14 22:17:43 +0200 i686 i686 i386 gnulinux ' n='-n' need_va_copy='undef' netdb_hlen_type='size_t' @@ -834,7 +836,7 @@ nm='nm' nm_opt='' nm_so_opt='--dynamic' -nonxs_ext='Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib' +nonxs_ext='Compress/Zlib Errno IO_Compress_Base IO_Compress_Zlib Module/Pluggable Test/Harness' nroff='nroff' nvEUformat='"E"' nvFUformat='"F"' @@ -852,18 +854,18 @@ optimize='-O2' orderlib='false' osname='linux' -osvers='2.6.22.18-0.2-default' +osvers='2.6.22.19-0.1-default' otherlibdirs=' ' package='perl5' -pager='/pro/local/bin/less' +pager='/usr/bin/less' passcat='cat /etc/passwd' patchlevel='11' path_sep=':' perl5='/opt/perl/bin/perl' perl='' -perl_patchlevel='34454' +perl_patchlevel='34948' perladmin='[EMAIL PROTECTED]' -perllibs='-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc' +perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc' perlpath='/opt/perl/bin/perl5.11.0' pg='pg' phostname='' @@ -1023,6 +1025,7 @@ use64bitall='undef' use64bitint='define' usecrosscompile='undef' +usedevel='define' usedl='define' usedtrace='undef' usefaststdio='undef' @@ -1102,7 +1105,7 @@ PERL_API_REVISION=5 PERL_API_VERSION=11 PERL_API_SUBVERSION=0 -PERL_PATCHLEVEL=34454 +PERL_PATCHLEVEL=34948 PERL_CONFIG_SH=true : Variables propagated from previous config.sh file. libdb_needs_pthread='N' ==== //depot/perl/config_h.SH#353 (text) ==== Index: perl/config_h.SH --- perl/config_h.SH#352~34950~ 2008-11-27 23:52:03.000000000 -0800 +++ perl/config_h.SH 2008-12-03 06:55:52.000000000 -0800 @@ -1106,9 +1106,13 @@ /* HASATTRIBUTE_UNUSED: * Can we handle GCC attribute for unused variables and arguments */ +/* HASATTRIBUTE_DEPRECATED: + * Can we handle GCC attribute for marking deprecated APIs + */ /* HASATTRIBUTE_WARN_UNUSED_RESULT: * Can we handle GCC attribute for warning on unused results */ +#$d_attribute_deprecated HASATTRIBUTE_DEPRECATED /**/ #$d_attribute_format HASATTRIBUTE_FORMAT /**/ #$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/ #$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/ ==== //depot/perl/configure.com#291 (text) ==== Index: perl/configure.com --- perl/configure.com#290~34952~ 2008-11-28 13:43:48.000000000 -0800 +++ perl/configure.com 2008-12-03 06:55:52.000000000 -0800 @@ -5820,6 +5820,7 @@ $ WC "d_atolf='" + d_atolf + "'" $ WC "d_atoll='" + d_atoll + "'" $ WC "d_attribute_format='" + d_attribut + "'" +$ WC "d_attribute_deprecated='undef'" $ WC "d_attribute_malloc='undef'" $ WC "d_attribute_nonnull='undef'" $ WC "d_attribute_noreturn='undef'" ==== //depot/perl/epoc/config.sh#109 (text) ==== Index: perl/epoc/config.sh --- perl/epoc/config.sh#108~34950~ 2008-11-27 23:52:03.000000000 -0800 +++ perl/epoc/config.sh 2008-12-03 06:55:52.000000000 -0800 @@ -104,6 +104,7 @@ d_asctime_r='undef' d_atolf='undef' d_atoll='undef' +d_attribute_deprecated='undef' d_attribute_format='undef' d_attribute_malloc='undef' d_attribute_nonnull='undef' ==== //depot/perl/perl.h#849 (text) ==== Index: perl/perl.h --- perl/perl.h#848~34985~ 2008-12-02 12:43:58.000000000 -0800 +++ perl/perl.h 2008-12-03 06:55:52.000000000 -0800 @@ -3150,6 +3150,9 @@ # endif #endif +#ifdef HASATTRIBUTE_DEPRECATED +# define __attribute__deprecated__ __attribute__((deprecated)) +#endif #ifdef HASATTRIBUTE_FORMAT # define __attribute__format__(x,y,z) __attribute__((format(x,y,z))) #endif @@ -3173,6 +3176,9 @@ #endif /* If we haven't defined the attributes yet, define them to blank. */ +#ifndef __attribute__deprecated__ +# define __attribute__deprecated__ +#endif #ifndef __attribute__format__ # define __attribute__format__(x,y,z) #endif ==== //depot/perl/plan9/config_sh.sample#26 (text) ==== Index: perl/plan9/config_sh.sample --- perl/plan9/config_sh.sample#25~34950~ 2008-11-27 23:52:03.000000000 -0800 +++ perl/plan9/config_sh.sample 2008-12-03 06:55:52.000000000 -0800 @@ -111,6 +111,7 @@ d_asctime_r='undef' d_atolf='undef' d_atoll='define' +d_attribute_deprecated='undef' d_attribute_format='undef' d_attribute_malloc='undef' d_attribute_nonnull='undef' ==== //depot/perl/symbian/config.sh#32 (text) ==== Index: perl/symbian/config.sh --- perl/symbian/config.sh#31~34950~ 2008-11-27 23:52:03.000000000 -0800 +++ perl/symbian/config.sh 2008-12-03 06:55:52.000000000 -0800 @@ -54,6 +54,7 @@ d_asctime_r='undef' d_atolf='undef' d_atoll='undef' +d_attribute_deprecated='undef' d_attribute_format='undef' d_attribute_malloc='undef' d_attribute_nonnull='undef' ==== //depot/perl/uconfig.sh#91 (xtext) ==== Index: perl/uconfig.sh --- perl/uconfig.sh#90~34950~ 2008-11-27 23:52:03.000000000 -0800 +++ perl/uconfig.sh 2008-12-03 06:55:52.000000000 -0800 @@ -48,6 +48,7 @@ d_asctime_r='undef' d_atolf='undef' d_atoll='undef' +d_attribute_deprecated='undef' d_attribute_format='undef' d_attribute_malloc='undef' d_attribute_nonnull='undef' ==== //depot/perl/win32/config.bc#190 (text) ==== Index: perl/win32/config.bc --- perl/win32/config.bc#189~34950~ 2008-11-27 23:52:03.000000000 -0800 +++ perl/win32/config.bc 2008-12-03 06:55:52.000000000 -0800 @@ -99,6 +99,7 @@ d_asctime_r='undef' d_atolf='undef' d_atoll='undef' +d_attribute_deprecated='undef' d_attribute_format='undef' d_attribute_malloc='undef' d_attribute_nonnull='undef' ==== //depot/perl/win32/config.ce#19 (text) ==== Index: perl/win32/config.ce --- perl/win32/config.ce#18~34950~ 2008-11-27 23:52:03.000000000 -0800 +++ perl/win32/config.ce 2008-12-03 06:55:52.000000000 -0800 @@ -99,6 +99,7 @@ d_asctime_r='undef' d_atolf='undef' d_atoll='undef' +d_attribute_deprecated='undef' d_attribute_format='undef' d_attribute_malloc='undef' d_attribute_nonnull='undef' ==== //depot/perl/win32/config.gc#187 (text) ==== Index: perl/win32/config.gc --- perl/win32/config.gc#186~34950~ 2008-11-27 23:52:03.000000000 -0800 +++ perl/win32/config.gc 2008-12-03 06:55:52.000000000 -0800 @@ -99,6 +99,7 @@ d_asctime_r='undef' d_atolf='undef' d_atoll='undef' +d_attribute_deprecated='undef' d_attribute_format='undef' d_attribute_malloc='undef' d_attribute_nonnull='undef' ==== //depot/perl/win32/config.vc#197 (text) ==== Index: perl/win32/config.vc --- perl/win32/config.vc#196~34950~ 2008-11-27 23:52:03.000000000 -0800 +++ perl/win32/config.vc 2008-12-03 06:55:52.000000000 -0800 @@ -99,6 +99,7 @@ d_asctime_r='undef' d_atolf='undef' d_atoll='undef' +d_attribute_deprecated='undef' d_attribute_format='undef' d_attribute_malloc='undef' d_attribute_nonnull='undef' ==== //depot/perl/win32/config.vc64#67 (text) ==== Index: perl/win32/config.vc64 --- perl/win32/config.vc64#66~34950~ 2008-11-27 23:52:03.000000000 -0800 +++ perl/win32/config.vc64 2008-12-03 06:55:52.000000000 -0800 @@ -99,6 +99,7 @@ d_asctime_r='undef' d_atolf='undef' d_atoll='define' +d_attribute_deprecated='undef' d_attribute_format='undef' d_attribute_malloc='undef' d_attribute_nonnull='undef' End of Patch.