Commit cf5bee8
committed
fix: only treat warnings as errors in newer gcc
The gcc versions older than 4.3 cannot build the current code base
without warnings, which are treated as errors, hence cannot build
argtable3. Besides, these old versions cannot enforce standard
compliance properly.
In this patch, we enhance the CMakeList.txt script so we
don't treat warnings as errors in very old gcc versions.1 parent b50c6c8 commit cf5bee8
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
51 | 50 | | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments