diff options
author | Mike Pall <mike> | 2021-09-24 12:10:44 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2021-09-24 12:10:44 +0200 |
commit | 1811c4b0f18d4a6e4ebc0a305a564e9339a36d05 (patch) | |
tree | e6a1e31c0dcb015212e6ce92be72dc970ec88321 /doc | |
parent | 204cee2c917f55f288c0b166742e56c134fe578c (diff) | |
download | luajit-1811c4b0f18d4a6e4ebc0a305a564e9339a36d05.tar.gz luajit-1811c4b0f18d4a6e4ebc0a305a564e9339a36d05.tar.bz2 luajit-1811c4b0f18d4a6e4ebc0a305a564e9339a36d05.zip |
Windows/x64: Document MSVC flags for C++ exception interoperability.
Suggested by Julien Cugnière.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/extensions.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/extensions.html b/doc/extensions.html index 306943b7..e3ab081e 100644 --- a/doc/extensions.html +++ b/doc/extensions.html | |||
@@ -353,7 +353,9 @@ the toolchain used to compile LuaJIT: | |||
353 | on the C stack. The contents of the C++ exception object | 353 | on the C stack. The contents of the C++ exception object |
354 | pass through unmodified.</li> | 354 | pass through unmodified.</li> |
355 | <li>Lua errors can be caught on the C++ side with <tt>catch(...)</tt>. | 355 | <li>Lua errors can be caught on the C++ side with <tt>catch(...)</tt>. |
356 | The corresponding Lua error message can be retrieved from the Lua stack.</li> | 356 | The corresponding Lua error message can be retrieved from the Lua stack.<br> |
357 | For MSVC for Windows 64 bit this requires compilation of your C++ code | ||
358 | with <tt>/EHa</tt>.</li> | ||
357 | <li>Throwing Lua errors across C++ frames is safe. C++ destructors | 359 | <li>Throwing Lua errors across C++ frames is safe. C++ destructors |
358 | will be called.</li> | 360 | will be called.</li> |
359 | </ul> | 361 | </ul> |