As opposed to a compilation handler, the codec isn't inherited when modules are resolved recursively. A codec is always chosen for decoding each string, so you can always select a suitable one depending on the source of the string.
Ok. The Pike codec seems to select "this" unconditionally though, so one needs to watch out if inheriting it as a base for a custom codec. (Hm, shouldn't it pass "this" to resolv() for the 'r' case as well? It seems inconsitent to do it only for 'p', 'o' and 'f'...)
Anyway, my point wasn't valid since the pike codec doesn't have any greater luck getting the real werror efun even if it's used on the pike dumps.
Yes, but that's an orthogonal problem. :-)
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2004-07-04 14:10: Subject: Re: Warnings from startup script
As opposed to a compilation handler, the codec isn't inherited when modules are resolved recursively. A codec is always chosen for decoding each string, so you can always select a suitable one depending on the source of the string.
Anyway, my point wasn't valid since the pike codec doesn't have any greater luck getting the real werror efun even if it's used on the pike dumps.
/ Martin Stjernholm, Roxen IS