gs8.x, shift overflows 
Author Message
 gs8.x, shift overflows

Ghostscript 8.00 and 8.10 show a lot of shifts out of range when compiling
under Solaris 7 with Sun Workshop C 5.0 (32-bit mode).
Line numbers for 8.10:

"./src/gxclrast.c", line 559: warning: shift count negative or too big: << 48
"./src/gxclrast.c", line 563: warning: shift count negative or too big: << 32
"./src/gxcht.c", line 236: warning: shift count negative or too big: >> 32
"./src/gxcht.c", line 301: warning: shift count negative or too big: >> 32
"./src/gxcht.c", line 423: warning: shift count negative or too big: << 32
"./src/gdevm40.c", line 105: warning: shift count negative or too big: >> 32
"./src/gdevm40.c", line 301: warning: shift count negative or too big: >> 32
"./src/gdevm40.c", line 302: warning: shift count negative or too big: >> 32
"./src/gdevm40.c", line 326: warning: shift count negative or too big: >> 32
"./src/gdevm48.c", line 102: warning: shift count negative or too big: >> 40
"./src/gdevm48.c", line 102: warning: shift count negative or too big: >> 32
"./src/gdevm48.c", line 270: warning: shift count negative or too big: >> 40
"./src/gdevm48.c", line 270: warning: shift count negative or too big: >> 32
"./src/gdevm48.c", line 271: warning: shift count negative or too big: >> 40
"./src/gdevm48.c", line 271: warning: shift count negative or too big: >> 32
"./src/gdevm48.c", line 295: warning: shift count negative or too big: >> 40
"./src/gdevm48.c", line 295: warning: shift count negative or too big: >> 32
"./src/gdevm56.c", line 112: warning: shift count negative or too big: >> 48
"./src/gdevm56.c", line 112: warning: shift count negative or too big: >> 40
"./src/gdevm56.c", line 112: warning: shift count negative or too big: >> 32
"./src/gdevm56.c", line 325: warning: shift count negative or too big: >> 48
"./src/gdevm56.c", line 325: warning: shift count negative or too big: >> 40
"./src/gdevm56.c", line 325: warning: shift count negative or too big: >> 32
"./src/gdevm56.c", line 326: warning: shift count negative or too big: >> 48
"./src/gdevm56.c", line 326: warning: shift count negative or too big: >> 40
"./src/gdevm56.c", line 326: warning: shift count negative or too big: >> 32
"./src/gdevm56.c", line 350: warning: shift count negative or too big: >> 48
"./src/gdevm56.c", line 350: warning: shift count negative or too big: >> 40
"./src/gdevm56.c", line 350: warning: shift count negative or too big: >> 32
"./src/gdevm64.c", line 94: warning: shift count negative or too big: >> 32
"./src/gdevm64.c", line 228: warning: shift count negative or too big: >> 32
"./src/gdevm64.c", line 229: warning: shift count negative or too big: >> 32
"./src/gdevm64.c", line 253: warning: shift count negative or too big: >> 32

--


 Drittes Physikalisches Institut,  Univ. Goettingen
 Buergerstr. 42-44,    37073 Goettingen,    Germany



Wed, 16 Nov 2005 00:06:31 GMT  
 gs8.x, shift overflows

Quote:

> Ghostscript 8.00 and 8.10 show a lot of shifts out of range when compiling
> under Solaris 7 with Sun Workshop C 5.0 (32-bit mode).

Recent versions of GS need 64-bit value for color index even on 32-bit
platforms. Something was not auto-detected on your platform.
I've registered the bug as:
http://bugs.ghostscript.com/show_bug.cgi?id=686899


Wed, 16 Nov 2005 00:47:31 GMT  
 gs8.x, shift overflows

Quote:


>> Ghostscript 8.00 and 8.10 show a lot of shifts out of range when compiling
>> under Solaris 7 with Sun Workshop C 5.0 (32-bit mode).

> Recent versions of GS need 64-bit value for color index even on 32-bit
> platforms. Something was not auto-detected on your platform.
> I've registered the bug as:
> http://bugs.ghostscript.com/show_bug.cgi?id=686899

I had not used configure but a hand-edited Makefile based on unixansi.mak,
as in previous gs versions. Thus I overlooked the new definition of
GX_COLOR_INDEX_TYPE, which is only visible in unix-gcc.mak. I changed my
Makefile accordingly and the warnings disappeared.
(These were warnings only anyway, "doesn't compile" as stated in
show_bug.cgi?id=686899 is incorrect.)

--


 Drittes Physikalisches Institut,  Univ. Goettingen
 Buergerstr. 42-44,    37073 Goettingen,    Germany



Sat, 19 Nov 2005 15:36:35 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. old pascal...new machine

2. unformatdatetime and format strings

3. Serverside Talk on ASP and JSP reachable again !

4. Heeelp InsertRecord in Database

5. gs8.10, ps2epsi dumps core

6. Error Compiling GS8.00

7. GS8.00, ps2epsi, BoundingBox

8. ps page shift? margin shift?

9. Modem Unit Needed!!!!

10. help for DELPHI4 client-server application

11. Programming tip: Version control

12. SQL Tutotrial on the net

 

 
Powered by phpBB® Forum Software