Florian Klaempfl wrote:
>
> If you want only consoleio without file system support
> I fear you need to take your own approach
>
No workaround?
I'll implement a file system soon, so I guess I'll be fine. Except there's
another feature dependency for CONSOLEIO besides TEXTIO.
PS: FILEIO looks
leledumbo schrieb:
Perhaps someone have a dependency graph for all of these features?
This is probably too hard to do. The goal of the feature approach is
designed more towards the possibility to create a stripped rtl for
existing targets. If you want only consoleio without file system suppor
Micha Nelissen wrote:
>
> Can you undefine FPC_HAS_FEATURE_TEXTIO as well?
>
> In the end, you have nothing left :-). Or is this the point?
>
> What's the goal?
>
> Micha
>
It's already undefined. Yes, I have nothing for now. In systemh.inc, you may
find:
{$ifndef FPC_HAS_FEATURE_SUPPORT}
leledumbo wrote:
> This is very inconvenient. Moreover, assertions needs it. My first attempt,
> is to comment out {$undef FPC_HAS_FEATURE_CONSOLEIO} in my system.pas. But
> then, FPC argues about Unknown compilerproc "fpc_write_text_shortstr". I
> found it in text.inc, but it's only included if FP
Mattias Gaertner wrote:
>
> Can you use variants?
>
No, it requires objfpc support which I don't have yet (see my other post
about FPC_HAS_FEATURE_HEAP). What if I declare fpc_write_text_shortstr with
the same signature as the one in text.inc?
--
View this message in context:
http://www.nab
On Mon, 28 Jul 2008 02:12:35 -0700 (PDT)
leledumbo <[EMAIL PROTECTED]> wrote:
>
> I need FPC (or better, Pascal) console IO feature for my OS. That is,
> Write(Ln) (and possibly Read(Ln)) with variable number and type of
> arguments. I already have my own, but each can only take one
> argument. S
I need FPC (or better, Pascal) console IO feature for my OS. That is,
Write(Ln) (and possibly Read(Ln)) with variable number and type of
arguments. I already have my own, but each can only take one argument. So, a
statement like:
WriteLn('Hello, I am ',20,' years old');
must be splitted into:
W