| •1 |
$CC -O2 -DPOSIX -D_POSIX_C_SOURCE=200809L -D_FILE_OFFSET_BITS=64 -DTEST_NARROW_WRITES -c |
| 2 |
|
| 3 |
This will be used to compile .c files. |
| 4 |
|
| 5 |
If you use GCC 12, it emits a warning for something which is correct code. |
| 6 |
The warning message looks like an error: |
| 7 |
|
| 8 |
memtester.c:142:9: error: suggest parentheses around assignment used as |
| 9 |
truth value [-Werror=parentheses] |
| 10 |
|
| 11 |
You can ignore the warning message; the code is correct. If the warning message |
| 12 |
bothers you, you can add `-Wno-parentheses` to the options above. |