Skip to content

cs50/2017/x/find/less: clang -std=c11 -o sort sort.c helpers.c -lcs50 -lm returns 1 #44

@denis-osipov

Description

@denis-osipov

Can't pass check of Find problem solution in Pset3: check50 cs50/2017/x/find/less gives

:( helpers.c compiles.
    expected exit code 0, not 1
    running clang -std=c11 -o sort sort.c helpers.c -lcs50 -lm...
    checking that program exited with status 0...

Check report

I put sort.c in my cs50.io folder and clang works fine:

~/workspace/pset3/find/ $ clang -std=c11 -o sort sort.c helpers.c -lcs50 -lm
~/workspace/pset3/find/ $ echo $?
0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions