Re: Compile error toke.c

2004-12-21 Thread Alex
"Andrew Dougherty" <[EMAIL PROTECTED]> wrote: > I still suspect the compiler. I note you're using gcc-3.3.2, which is > over a year old on Solaris 10, which is brand new. Before worrying too > much about this particular problem, I'd consider upgrading gcc. Thank U very much! It really was compi

Re: Compile error toke.c

2004-12-17 Thread Andrew Dougherty
On Fri, 17 Dec 2004, Alex wrote: > Hello. > > I found out the problem. It is - large file support. > When I switch it off, it goes good. > Exact trouble is "-D_FILE_OFFSET_BITS=64" flag. > > p.s. I don't know what is the global problem, but will try not to use large > files :-) I still suspect th

Re: Compile error toke.c

2004-12-17 Thread H.Merijn Brand
On Fri 17 Dec 2004 07:20, "Alex" <[EMAIL PROTECTED]> wrote: > Hello. > > I found out the problem. It is - large file support. > When I switch it off, it goes good. > Exact trouble is "-D_FILE_OFFSET_BITS=64" flag. Just for my own curiousity When you've got everything working and installed, could

Re: Compile error toke.c

2004-12-17 Thread H.Merijn Brand
On Fri 17 Dec 2004 05:20, "Alex" <[EMAIL PROTECTED]> wrote: > Hello. > I'm not experienced in C, to my regret ... > > "Andrew Dougherty" <[EMAIL PROTECTED]> wrote: > > I can't reproduce this on Solaris 8, SPARC, with gcc 3.4.1. Here's line > 2558: > > bof = PerlIO_tell(PL_rsfp) == (Off_t)SvC

Re: Compile error toke.c

2004-12-17 Thread Alex
Hello. I found out the problem. It is - large file support. When I switch it off, it goes good. Exact trouble is "-D_FILE_OFFSET_BITS=64" flag. p.s. I don't know what is the global problem, but will try not to use large files :-) Regards, Alex.

Re: Compile error toke.c

2004-12-17 Thread Alex
Hello. I'm not experienced in C, to my regret ... "Andrew Dougherty" <[EMAIL PROTECTED]> wrote: > I can't reproduce this on Solaris 8, SPARC, with gcc 3.4.1. Here's line 2558: > bof = PerlIO_tell(PL_rsfp) == (Off_t)SvCUR(PL_linestr); > It's possible your gcc would be happier with an extra pa

Re: Compile error toke.c

2004-12-16 Thread Andrew Dougherty
On Thu, 16 Dec 2004, Alex wrote: > Solaris 10, x86; gcc 3.3.2 > While building perl, I'v got: > > toke.c: In function `Perl_yylex': > toke.c:2558: error: cast to union type from type not present in union I can't reproduce this on Solaris 8, SPARC, with gcc 3.4.1. Here's line 2558: bof = Pe