Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warnings about usage of C++ style comments #5

Closed
tfarina opened this issue Aug 17, 2014 · 1 comment
Closed

warnings about usage of C++ style comments #5

tfarina opened this issue Aug 17, 2014 · 1 comment

Comments

@tfarina
Copy link

tfarina commented Aug 17, 2014

cc unit_test.c -o unit_test -lpthread -W -Wall -pedantic -O0 -g -I.. -lssl
unit_test.c:1:1: warning: C++ style comments are not allowed in ISO C90 [enabled by default]
unit_test.c:1:1: warning: (this will be reported only once per input file) [enabled by default]
In file included from unit_test.c:13:0:
../net_skeleton.c:1:1: warning: C++ style comments are not allowed in ISO C90 [enabled by default]
../net_skeleton.c:1:1: warning: (this will be reported only once per input file) [enabled by default]
In file included from ../net_skeleton.c:17:0,
from unit_test.c:13:
../net_skeleton.h:1:1: warning: C++ style comments are not allowed in ISO C90 [enabled by default]
../net_skeleton.h:1:1: warning: (this will be reported only once per input file) [enabled by default]
clang nc.c ../net_skeleton.c -DNS_ENABLE_SSL -lssl -o nc -lpthread -W -Wall -pedantic -O0 -g -I..

@cpq cpq closed this as completed in 70301dd Aug 17, 2014
@tfarina
Copy link
Author

tfarina commented Aug 17, 2014

thanks!

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

No branches or pull requests

1 participant