START include/bitstring 2024-01-25T19:01:27Z ==== test-8 ==== cc -O2 -pipe -MD -MP -c /usr/src/regress/include/bitstring/./bitstring_test.c /usr/src/regress/include/bitstring/./bitstring_test.c:9:16: warning: '/*' within block comment [-Wcomment] /* #define ATT /*- */ ^ /usr/src/regress/include/bitstring/./bitstring_test.c:95:26: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] (void) putchar(*("100" + (i % 3))); ~~~~~~^~~~~~~~~ /usr/include/stdio.h:435:25: note: expanded from macro 'putchar' #define putchar(x) putc(x, stdout) ^ /usr/include/stdio.h:420:46: note: expanded from macro 'putc' #define putc(x, fp) (!__isthreaded ? __sputc(x, fp) : (putc)(x, fp)) ^ /usr/src/regress/include/bitstring/./bitstring_test.c:95:26: note: use array indexing to silence this warning (void) putchar(*("100" + (i % 3))); ^ & [ /usr/include/stdio.h:435:25: note: expanded from macro 'putchar' #define putchar(x) putc(x, stdout) ^ /usr/include/stdio.h:420:46: note: expanded from macro 'putc' #define putc(x, fp) (!__isthreaded ? __sputc(x, fp) : (putc)(x, fp)) ^ /usr/src/regress/include/bitstring/./bitstring_test.c:95:26: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] (void) putchar(*("100" + (i % 3))); ~~~~~~^~~~~~~~~ /usr/include/stdio.h:435:25: note: expanded from macro 'putchar' #define putchar(x) putc(x, stdout) ^ /usr/include/stdio.h:420:62: note: expanded from macro 'putc' #define putc(x, fp) (!__isthreaded ? __sputc(x, fp) : (putc)(x, fp)) ^ /usr/src/regress/include/bitstring/./bitstring_test.c:95:26: note: use array indexing to silence this warning (void) putchar(*("100" + (i % 3))); ^ & [ /usr/include/stdio.h:435:25: note: expanded from macro 'putchar' #define putchar(x) putc(x, stdout) ^ /usr/include/stdio.h:420:62: note: expanded from macro 'putc' #define putc(x, fp) (!__isthreaded ? __sputc(x, fp) : (putc)(x, fp)) ^ /usr/src/regress/include/bitstring/./bitstring_test.c:105:29: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] (void) putchar(*("000100" + (i % 6))); ~~~~~~~~~^~~~~~~~~ /usr/include/stdio.h:435:25: note: expanded from macro 'putchar' #define putchar(x) putc(x, stdout) ^ /usr/include/stdio.h:420:46: note: expanded from macro 'putc' #define putc(x, fp) (!__isthreaded ? __sputc(x, fp) : (putc)(x, fp)) ^ /usr/src/regress/include/bitstring/./bitstring_test.c:105:29: note: use array indexing to silence this warning (void) putchar(*("000100" + (i % 6))); ^ & [ /usr/include/stdio.h:435:25: note: expanded from macro 'putchar' #define putchar(x) putc(x, stdout) ^ /usr/include/stdio.h:420:46: note: expanded from macro 'putc' #define putc(x, fp) (!__isthreaded ? __sputc(x, fp) : (putc)(x, fp)) ^ /usr/src/regress/include/bitstring/./bitstring_test.c:105:29: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] (void) putchar(*("000100" + (i % 6))); ~~~~~~~~~^~~~~~~~~ /usr/include/stdio.h:435:25: note: expanded from macro 'putchar' #define putchar(x) putc(x, stdout) ^ /usr/include/stdio.h:420:62: note: expanded from macro 'putc' #define putc(x, fp) (!__isthreaded ? __sputc(x, fp) : (putc)(x, fp)) ^ /usr/src/regress/include/bitstring/./bitstring_test.c:105:29: note: use array indexing to silence this warning (void) putchar(*("000100" + (i % 6))); ^ & [ /usr/include/stdio.h:435:25: note: expanded from macro 'putchar' #define putchar(x) putc(x, stdout) ^ /usr/include/stdio.h:420:62: note: expanded from macro 'putc' #define putc(x, fp) (!__isthreaded ? __sputc(x, fp) : (putc)(x, fp)) ^ 5 warnings generated. cc -o ./bitstring_test ./bitstring_test.o ./bitstring_test 8 | diff - /usr/src/regress/include/bitstring/good/8 ==== test-27 ==== ./bitstring_test 27 | diff - /usr/src/regress/include/bitstring/good/27 ==== test-32 ==== ./bitstring_test 32 | diff - /usr/src/regress/include/bitstring/good/32 ==== test-49 ==== ./bitstring_test 49 | diff - /usr/src/regress/include/bitstring/good/49 ==== test-64 ==== ./bitstring_test 64 | diff - /usr/src/regress/include/bitstring/good/64 ==== test-67 ==== ./bitstring_test 67 | diff - /usr/src/regress/include/bitstring/good/67 PASS include/bitstring Duration 0m02.84s