Skip to content

make check shows error #7

@jkhillier

Description

@jkhillier

Hi William,

I've created a forked repository. Got both desktop and terminal versions of git working, used the command line to clone SWT to my machine in a sensible directory. Then I ran 'make check' in the SWT directory. This produced the error below. As far as I can tell, this is just cc (not gcc?) compiling the swt.c code. However, since you offered, I'd be grateful for any help.

cc -c src/swt.c -o src/swt.o
src/swt.c:44:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
44 | main(int argc, char *argv[])
| ^
| int
1 error generated.
make: *** [src/swt.o] Error 1

Thank you,
John

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions