You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from test.c:1:
/usr/include/term.h:1055:9: error: unknown type name 'bool'
1055 | bool init; /* TRUE if pair was initialized */
| ^~~~
/usr/include/term.h:1081:9: error: unknown type name 'SGTTY'
1081 | SGTTY Ottyb, /* original state of the terminal */
| ^~~~~
/usr/include/term.h:1102:9: error: unknown type name 'chtype'
1102 | chtype sgr_mode; /* current phys. graphic rendition */
| ^~~~~~
/usr/include/term.h:1103:9: error: unknown type name 'chtype'
1103 | chtype sgr_faked; /* attributes faked by vidputs */
| ^~~~~~
/usr/include/term.h:1113:9: error: unknown type name 'bool'
1113 | bool funckeystarter[0400];
| ^~~~
/usr/include/term.h:1115:9: error: unknown type name 'bool'
1115 | bool _fl_rawmode, /* in cbreak(=1) or raw(=2) mode */
| ^~~~
/usr/include/term.h:1121:9: error: unknown type name 'chtype'
1121 | chtype /* a place to put stuff ungetch'ed */
| ^~~~~~
/usr/include/term.h:1129:9: error: unknown type name 'chtype'
1129 | chtype *_acsmap; /* map of alternate char set chars */
| ^~~~~~
/usr/include/term.h:1132:9: error: unknown type name 'chtype'
1132 | chtype bit_vector;
| ^~~~~~
/usr/include/term.h:1136:9: error: unknown type name 'chtype'
1136 | chtype check_turn_off;
| ^~~~~~
/usr/include/term.h:1137:9: error: unknown type name 'chtype'
1137 | chtype non_faked_mode;
| ^~~~~~
/usr/include/term.h:1229:32: error: expected ')' before 'int'
1229 | vidputs(chtype, int (*)(char)), vidattr(chtype);
| ^~~~
| )
I'm guessing that this isn't expected behaviour because GHC hits the exact same error!
All the best
James
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello!
I'm currently bringing GHC up for omni os, but it will not compile due to issues with
term.h
Take the following c program:
We run
gcc test.c
Expected Result
We get a rather boring
a.out
fileWhat happens:
I'm guessing that this isn't expected behaviour because GHC hits the exact same error!
All the best
James
The text was updated successfully, but these errors were encountered: