]> git.ipfire.org Git - thirdparty/libtool.git/commit
[cygwin] Refactor C++ exception handling for Win32 correctness
authorCharles Wilson <libtool@cwilson.fastmail.fm>
Sun, 20 Jun 2010 04:59:02 +0000 (00:59 -0400)
committerCharles Wilson <libtool@cwilson.fastmail.fm>
Thu, 24 Jun 2010 22:39:37 +0000 (18:39 -0400)
commitec9de9a8aff88eb4b0bd2a19e713ae82aef37006
tree1ebab3fd8f23c511f3c9efbd34340572ba76ff68
parent3d2d3ef899cb7e83d5d77dea695e13dfeb80ee7f
[cygwin] Refactor C++ exception handling for Win32 correctness

* tests/exception.at (common.h): New file, refactored from
(module.h): Move declaration of modexc to libcommon.
Include common.h. Use explicit import/export markings for
symbols when building on win32 or cygwin.
(common.cpp): New file.
(module.cpp): Ensure correct symbols markings when including
module.h.
(lib.h): Use explicit import/export markings for symbols
when building on win32 or cygwin.
(lib.cpp): Ensure correct symbol markings when including lib.h.
(main.cpp): Include common.h.
(commands): Ensure correct symbol markings when compiling
main.cpp, and lib.cpp, and module.cpp. Add command to compile
common.cpp, and to link libcommon.la.  Add libcommon.la when
linking module.la and main.  Add command to install libcommon.la.

Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>
ChangeLog
tests/exceptions.at