Commit 15dd78e
committed
libcore: Ensure MCLog() macros can be called with only a string
GCC doesn't like variadic templates with empty variadic argument
lists. This meant that using `MCLog("message")` in code that used
libcore's log macros would fail to compile. However, this can be
worked around by making libcore's `MCLog()` a variadic macro with no
named arguments. This was already the case in libfoundation.1 parent 198e091 commit 15dd78e
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | | - | |
| 178 | + | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
0 commit comments