| 196 | |
| 197 | |
| 198 | void |
| 199 | ASTNode::warning_impl (string_view msg) const |
| 200 | { |
| 201 | #if OIIO_VERSION >= 10803 |
| 202 | m_compiler->warning (sourcefile(), sourceline(), "%s", msg); |
| 203 | #else |
| 204 | // DEPRECATED -- delete when minimum OIIO is at least 1.8 |
| 205 | m_compiler->warning (sourcefile(), sourceline(), "%s", msg.c_str()); |
| 206 | #endif |
| 207 | } |
| 208 | |
| 209 | |
| 210 |