cs50 / help50-deprecated

This is help50, a command-line tool that helps students understand error messages.
https://cs50.harvard.edu/
GNU General Public License v3.0
62 stars 64 forks source link

error: called object type 'int' is not a function or function pointer #268

Closed feedXia closed 5 years ago

feedXia commented 6 years ago

`$ help50 make valid_triangle1 clang -fsanitize=signed-integer-overflow -fsanitize=undefined -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare -Wshadow valid_triangle1.c -lcrypt -lcs50 -lm -o valid_triangle1 valid_triangle1.c:15:38: error: called object type 'int' is not a function or function pointer if ((x + y <= z) || (x + z <= y) (y + z <= x))


1 error generated.
make: *** [valid_triangle1] Error 1

Sorry, not sure how to help (yet) with this one!`
dmalan commented 6 years ago

Looks like you're missing another || in there!

djm