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

Compilation problems with scheduler/file.c on gcc 3.2 #433

Closed
michaelrsweet opened this issue Nov 25, 2003 · 6 comments
Closed

Compilation problems with scheduler/file.c on gcc 3.2 #433

michaelrsweet opened this issue Nov 25, 2003 · 6 comments

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.1.20
CUPS.org User: stefan.hildenbrand

gcc 3.2 doesn't like the following:
You can see a diff with "file.c" of v1.1.19.

835c833

< fp->stream.next_out = (Bytef *)fp->buf;

fp->stream.next_out  = fp->buf;

With gcc 3.3 it compiles.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

What version of zlib do you have?

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: stefan.hildenbrand

On the system with gcc 3.2 I have
zlib-1.1.4-112
zlib-devel-1.1.4-50

on the other one it's:
zlib-1.1.4-105
zlib-devel-1.1.4-105

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Reassigned to 1.2.

What error message do you get from GCC 3.2?

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: stefan.hildenbrand

That's .....:


Compiling file.c...
file.c: In function cupsFileSeek': file.c:554: structure has no member namedeof'
file.c: In function cups_fill': file.c:641: warning: unused variableptr'
file.c:642: warning: unused variable `end'

make: *** [file.o] Error 1

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

You don't have zlib on the affected system.

This will be fixed for 1.2, but not for 1.1.x.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in CVS - the anonymous CVS repository will be updated at midnight EST.

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