« Return to Thread: function "open"

function "open"

by bblochl2-2 :: Rate this Message:

Reply to Author | View in Thread

Obviously you are using Objective-C (Macintosh)? There are some error messages desiring for the GNU Objective-C Compiler. After installing GNU Objective-C there are two more errors (and a lot of the usual warnings) left:

I get two errors with Ubuntu (and debian with a somewhat different text):

In Funktion »open«,
    eingefügt von »callsystem_open« bei source/callsystem.c:569:
/usr/include/bits/fcntl2.h:51: Fehler: Aufruf von »__open_missing_mode« mit Attributfehler deklariert: open with O_CREAT in second argument needs 3 arguments
In Funktion »open«,
    eingefügt von »callsystem_open« bei source/callsystem.c:581:
/usr/include/bits/fcntl2.h:51: Fehler: Aufruf von »__open_missing_mode« mit Attributfehler deklariert: open with O_CREAT in second argument needs 3 arguments

I cannot interpret this messages, as I do not know the function "open". (At least Io is running anyway after repairing that frequently described library problem with libiovmall.so. I cannot anticipate if there may arise problems in real work on larger projects with Io with this.)

I am far away from the discussion what Objective-C has and C++ has not and vice versa. But with Objective-C you lock out the SBC-users (SBC=Single board computer) and embedded application. I do not know any SBC offering an Objective-C compiler?) That would be a great pity. Is it possible to transfer the code to plain ANSI C and C++? At least, is it possible to break down the code to a common version compiling on both, Objective-C and C++? Are there any plans?

Lua as a might be competitor and compiles easily on SBC`s with simple ANSI C and GNU g++ as well (certainly only if there is enough Memory available). Certaily I know that Lua is not like Io, but exactly that`s the point why Io is interesting in that field.

Regards BB




 « Return to Thread: function "open"