This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ PATCH ] HP-UX 11.00 + 16446 + gcc-3.1/64


> > > After Configure -Dusedevel -Duseperlio -Duse64bitall -des
> > > makefile and x2p/makefile have to be cleared from being depending on
> > > '<built-in>' see patch at the end (tested, worked)
> 
> versions up to and including 3.0.4 used <builtin> instead of <built-in>

I had to manually remove these.

> > > Still lots of warnings like
> > > 
> > > op.c: In function `S_cv_clone2':
> > > op.c:4487: warning: unused variable `Perl___notused'
> > > op.c:4603: warning: unused variable `Perl___notused'
> > > op.c: In function `Perl_newATTRSUB':
> > > op.c:5091: warning: unused variable `Perl___notused'
> > > op.c:5104: warning: unused variable `Perl___notused'
> > 
> > Has gcc 3 changed the unused attribute syntax?

Not that I am aware of.  If you can generate a simple testcase where
it does not work as expected, please file a GCC PR.

The only warning that I got building 5.7.3 on hppa64-hpux11.11 was

make[1]: Entering directory `/xxx/gnu/perl-5.7.3/ext/Errno'
../../miniperl -I../../lib -I../../lib -I../../lib -I../../lib Errno_pm.PL Errno
.pm
<command line>:1:1: warning: "__STDC_EXT__" redefined
<command line>:1:1: warning: this is the location of the previous definition
<command line>:1:1: warning: "__STDC_EXT__" redefined
<command line>:1:1: warning: this is the location of the previous definition
<command line>:1:1: warning: "__STDC_EXT__" redefined
<command line>:1:1: warning: this is the location of the previous definition
<command line>:1:1: warning: "__STDC_EXT__" redefined
<command line>:1:1: warning: this is the location of the previous definition
<command line>:1:1: warning: "__STDC_EXT__" redefined
<command line>:1:1: warning: this is the location of the previous definition
Skip ../../lib/Errno.pm (unchanged)
make[1]: Leaving directory `/xxx/gnu/perl-5.7.3/ext/Errno'
make: [extras.make] Error 1 (ignored)

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]