Improve message "Wrong ppu found"

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Improve message "Wrong ppu found"

AlexeyT
Suggestion: in the message $subj, can you add FPC version of that PPU?
so it will be "Wrong PPU found [FPC 2.7.8]" when FPC needs PPU for 3.2.0.

--
Regards,
Alexey

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Improve message "Wrong ppu found"

Free Pascal - General mailing list
Am 24.04.2019 um 10:14 schrieb Alexey Tor.:
> Suggestion: in the message $subj, can you add FPC version of that PPU?
> so it will be "Wrong PPU found [FPC 2.7.8]" when FPC needs PPU for 3.2.0.
>
Please provide a real example of a compiler output, cause I can't find
"Wrong ppu found" in the sources.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Improve message "Wrong ppu found"

Free Pascal - General mailing list
> Please provide a real example of a compiler output, cause I can't find
"Wrong ppu found" in the sources.

I think what he meant is:

$ grep -i 'wrong ppu version' -r *
pkgutil.pas:         Comment(V_Error,'Wrong PPU Version
'+tostr(ppuversion)+' in '+PPUFn);
utils/ppufiles.pp:     Error('Error: Wrong PPU Version : '+PPUFn,false);
utils/ppumove.pp:     Error('Error: Wrong PPU Version '+tostr(ppuversion)+'
in '+PPUFn,false);



--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Improve message "Wrong ppu found"

Free Pascal - General mailing list
leledumbo via fpc-pascal <[hidden email]> schrieb am Sa., 27. Apr. 2019, 15:14:
> Please provide a real example of a compiler output, cause I can't find
"Wrong ppu found" in the sources.

I think what he meant is:

$ grep -i 'wrong ppu version' -r *
pkgutil.pas:         Comment(V_Error,'Wrong PPU Version
'+tostr(ppuversion)+' in '+PPUFn);
utils/ppufiles.pp:     Error('Error: Wrong PPU Version : '+PPUFn,false);
utils/ppumove.pp:     Error('Error: Wrong PPU Version '+tostr(ppuversion)+'
in '+PPUFn,false);

The first shouldn't really be visible as it's a consistency check (and does print a version) and the other two are from compiler utilities, not the compiler itself. 

Regards, 
Sven 

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal