-
Notifications
You must be signed in to change notification settings - Fork 97
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
TESTS: '}' is missing at the end of write_logs.c #7
Comments
Are you using bash or another shell? Can you try the following: We might need to so something like thid in the makefile: |
Can you try this patch? diff --git a/tests/Makefile.am b/tests/Makefile.am if HAVE_DICT_WORDS
|
We solved the problem by patching make-log-tests: diff -Naur libqb-orig/tests/make-log-test libqb/tests/make-log-test +echo "}" The last 'echo "}"' closes log_dict_words function in write_logs.c |
OK, I'll make this script more robust. |
Debian squeeze |
I have applied your fix, so I'll close this. |
GCC output looks like:
gcc -DHAVE_CONFIG_H -I. -I../include -I../include/qb -I../include -I../include -ansi -D_GNU_SOURCE -DANSI_ONLY -g -O2 -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -MT bench_log-write_logs.o -MD -MP -MF .deps/bench_log-write_logs.Tpo -c -o bench_log-write_logs.o test -f 'write_logs.c' || echo './'write_logs.c
write_logs.c: In function ‘log_dict_words’:
write_logs.c:32860:1: error: expected declaration or statement at end of input
The text was updated successfully, but these errors were encountered: