Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-09

zstream.pp strange dependency?

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

I have encountered a strange phenomenon, and I would like to fix it, if it weren't for the fact that I have no idea why it appears.

So what happened? When using the zstreams.pp unit in a sample project I get an error message "Fatal: Can't find unit FPReadPNG". I searched all sources to find out which one is using the FPReadPNG unit that could be called in return by any unit coming from zstreams, but no success. I'm clueless here. Does anyone have a suggestion where to look, or an explanation why this is happening?

Please note that I've been mixing 2.1.1 sources (zipper and zstream) with a 2.0.2 and 2.0.4 compiler. I don't expect that this is the cause of this err message, but perhaps it is.

Below is a list of messages I took from the lazarus messages window.

Darius

Hint: Start of reading config file C:\lazarus\pp\bin\i386-win32\fpc.cfg
Hint: End of reading config file C:\lazarus\pp\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 2.0.2 [2006/05/28] for i386
Copyright (c) 1993-2005 by Florian Klaempfl
Target OS: Win32 for i386
Compiling project1.lpr
Compiling zstream.pp
zstream.pp(125,3) Hint: Local variable "strm" does not seem to be initialized
zstream.pp(140,32) Hint: Conversion between ordinals and pointers is not
portable
zstream.pp(140,51) Hint: Conversion between ordinals and pointers is not
portable
zstream.pp(140,76) Hint: Conversion between ordinals and pointers is not
portable
zstream.pp(140,26) Hint: Conversion between ordinals and pointers is not
portable
zstream.pp(162,11) Hint: Type "PByte" redefinition
zstream.pp(164,3) Hint: Local variable "strm" does not seem to be initialized
zstream.pp(183,32) Hint: Conversion between ordinals and pointers is not
portable
zstream.pp(183,51) Hint: Conversion between ordinals and pointers is not
portable
zstream.pp(183,76) Hint: Conversion between ordinals and pointers is not
portable
zstream.pp(183,26) Hint: Conversion between ordinals and pointers is not
portable
zstream.pp(203,28) Hint: Type size mismatch, possible loss of data / range
check error
zstream.pp(71,23) Hint: Parameter "Buffer" not used
zstream.pp(71,31) Hint: Parameter "Count" not used
zstream.pp(280,34) Hint: Type size mismatch, possible loss of data / range
check error
zstream.pp(346,27) Warning: Mixing signed expressions and longwords gives
a 64bit result
zstream.pp(350,34) Hint: Type size mismatch, possible loss of data / range
check error
zstream.pp(355,20) Warning: Mixing signed expressions and longwords gives
a 64bit result
zstream.pp(87,26) Hint: Parameter "Buffer" not used
zstream.pp(87,34) Hint: Parameter "Count" not used
zstream.pp(382,22) Warning: Mixing signed expressions and longwords gives
a 64bit result
zstream.pp(388,9) Hint: Local variable "Buf" does not seem to be initialized
zstream.pp(1,1) Fatal: Can't find unit FPReadPNG

Reply by email

Florian Klaempfl
to Unknown author
Show quoted text 13 lines
I have encountered a strange phenomenon, and I would like to fix it, if it weren't for the fact that I have no idea why it appears. So what happened? When using the zstreams.pp unit in a sample project I get an error message "Fatal: Can't find unit FPReadPNG". I searched all sources to find out which one is using the FPReadPNG unit that could be called in return by any unit coming from zstreams, but no success. I'm clueless here. Does anyone have a suggestion where to look, or an explanation why this is happening? Please note that I've been mixing 2.1.1 sources (zipper and zstream) with a 2.0.2 and 2.0.4 compiler. I don't expect that this is the cause of this err message, but perhaps it is.

Well, the 2.1.1 stuff except rtl and compiler isn't supposed to be built by 2.0.x

However, to debug it further, have a look at the output generated by -va.

Show quoted text 55 lines
Below is a list of messages I took from the lazarus messages window. Darius Hint: Start of reading config file C:\lazarus\pp\bin\i386-win32\fpc.cfg Hint: End of reading config file C:\lazarus\pp\bin\i386-win32\fpc.cfg Free Pascal Compiler version 2.0.2 [2006/05/28] for i386 Copyright (c) 1993-2005 by Florian Klaempfl Target OS: Win32 for i386 Compiling project1.lpr Compiling zstream.pp zstream.pp(125,3) Hint: Local variable "strm" does not seem to be initialized zstream.pp(140,32) Hint: Conversion between ordinals and pointers is not portable zstream.pp(140,51) Hint: Conversion between ordinals and pointers is not portable zstream.pp(140,76) Hint: Conversion between ordinals and pointers is not portable zstream.pp(140,26) Hint: Conversion between ordinals and pointers is not portable zstream.pp(162,11) Hint: Type "PByte" redefinition zstream.pp(164,3) Hint: Local variable "strm" does not seem to be initialized zstream.pp(183,32) Hint: Conversion between ordinals and pointers is not portable zstream.pp(183,51) Hint: Conversion between ordinals and pointers is not portable zstream.pp(183,76) Hint: Conversion between ordinals and pointers is not portable zstream.pp(183,26) Hint: Conversion between ordinals and pointers is not portable zstream.pp(203,28) Hint: Type size mismatch, possible loss of data / range check error zstream.pp(71,23) Hint: Parameter "Buffer" not used zstream.pp(71,31) Hint: Parameter "Count" not used zstream.pp(280,34) Hint: Type size mismatch, possible loss of data / range check error zstream.pp(346,27) Warning: Mixing signed expressions and longwords gives a 64bit result zstream.pp(350,34) Hint: Type size mismatch, possible loss of data / range check error zstream.pp(355,20) Warning: Mixing signed expressions and longwords gives a 64bit result zstream.pp(87,26) Hint: Parameter "Buffer" not used zstream.pp(87,34) Hint: Parameter "Count" not used zstream.pp(382,22) Warning: Mixing signed expressions and longwords gives a 64bit result zstream.pp(388,9) Hint: Local variable "Buf" does not seem to be initialized zstream.pp(1,1) Fatal: Can't find unit FPReadPNG _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email