Commit d76681c
committed
work around clang warn/error on __COUNTER__
- fix #186
- code generated by Cursor and reviewed by @orbeckst
- note: vendored googlebench contains __COUNTER__ that is classified by clang as
a C2y extension and -Werror and -pedantic-errors makes this fail (even though it is
actually supported). This is fixed (worked around) in upstream googlebench but other
things changed there and would possibly require some rewriting here. Instead, we
opted to just remove -Werror -pedantic-error around the googlebench code.1 parent cc9fd07 commit d76681c
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
38 | 45 | | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
43 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
44 | 54 | | |
45 | 55 | | |
46 | 56 | | |
| |||
0 commit comments