Skip to content

Installation fix: Update synthbar.c#1

Open
PollyTikhonova wants to merge 1 commit intojamorrison:mainfrom
PollyTikhonova:main
Open

Installation fix: Update synthbar.c#1
PollyTikhonova wants to merge 1 commit intojamorrison:mainfrom
PollyTikhonova:main

Conversation

@PollyTikhonova
Copy link
Copy Markdown

This PR fixes the installation error that happens due to a declaration error. The error message I received before the fix during running the make command:
gcc -c kstring.c -o kstring.o gcc -Wall -O2 synthbar.c string.o -o synthbar -lz synthbar.c: In function ‘main’: synthbar.c:266:5: error: a label can only be part of a statement and a declaration is not a statement double t2 = get_current_time(); ^~~~~~ make: *** [Makefile:7: synthbar] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant