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
gcc -I/usr/local/include -I/usr/local/Cellar/readline/6.2.4/include -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -I. -I. -c main.c -o main.o
cc1: warnings being treated as errors
cc1: warning: command line option "-Wno-deprecated" is valid for C++/Java/ObjC++ but not for C
make: *** [main.o] Error 1
It's fixable by removing "-Werror" from Makefile.in:7, but I'm not sure if that's something you want to do.
The text was updated successfully, but these errors were encountered:
I know about this problem, but I don't know any good workarounds. I want to keep -Werror, so I put -Wno-deprecated. Deprecated functions are in libopenssl and I think it is ok to use them. They are not marked as deprecated on linux. Probably newer version of gcc will compile it. If not you can remove -Wno-deprecated and -Werror and it should be fine.
I know about this problem, but I don't know any good workarounds. I want
to keep -Werror, so I put -Wno-deprecated. Deprecated functions are in
libopenssl and I think it is ok to use them. They are not marked as
deprecated on linux. Probably newer version of gcc will compile it. If not
you can remove -Wno-deprecated and -Werror and it should be fine.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/29#issuecomment-30972231
.
Compiling on Mac OS 10.8.5 following the Mac build instructions yields this:
It's fixable by removing "-Werror" from Makefile.in:7, but I'm not sure if that's something you want to do.
The text was updated successfully, but these errors were encountered: