This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: [BUG] try..catch does not work if compiled with clang 8.0
- From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" <cygwin at cygwin dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Wed, 18 Dec 2019 16:56:40 +0000
- Subject: RE: [BUG] try..catch does not work if compiled with clang 8.0
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ncbi.nlm.nih.gov; dmarc=pass action=none header.from=ncbi.nlm.nih.gov; dkim=pass header.d=ncbi.nlm.nih.gov; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jjjiqEq0lr0B1AJT5V4psRggK054bH8Vf6FKVPAg7Ac=; b=RrM9EX9pyE5BmGgjJoUvcIG1a87liRHm2GRNxMP2c7CU66o3je9tgjHjLrI/VN9JieIqPkxxiLgJ0P7kvWIjSNa2yO6id8Td/I3rxpoaw64hDRZy77iR923JEuxV4+HOf2pyL8OCfmlDz6e61+cqd0BM+CY2x+BAwLDLE+e1FxhN5nUmKZLdor0tnIT4mV8ZNIuU+HcldiKlp6O8w0ZOZhvbCp/xlkWsIs6j6AmPM7rUzBTkywLn6i2YtGgmegQvBs+GrB5RBMdODI3JK5NBqOACKQ89xz8VwoTVovQGifbTizUBIulz4SUAXenLLLCMDgp+iLDQGg5mtkFpeUmSvg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M1HAio1EcD/QOLSOSxUbgYmN992bHxrHepWgcaP+CwNtIj1V32ADgqH2bNaX4RJJ7pg0WWArXHrTxK/Z5voBzsPtU4ZZhxQFuxAzGxJyOaM9X4jaDSts6J7g19LvIFL8K2Yd73VoYlTROLV4kej44y2UZBDBvFuXPOTluVJWkITqWLg2Ss/1U2VmkJjBRlB1xG/PtQscZfS1k37UrzgBRUjLuJZC7lTZs4R3ic1JXwxeTgbzHEpsQx0/4YqOVt3vjtDHOLaSsNOyAILppKMZy4+MLAtDIoThfIrf26/0qmUk5bEHbVJmRHPP9Ph2neuZ/g775kKa7mK/S3UcPkGcEQ==
- Ironport-sdr: e2LzLevVTYmmylqX+zc7bX6GfaBLFYvZdKjD3wXHHrBDve17fhu/QSjOXm9hAGS9nak5ng7H6U PHLcISEYHnQA==
- Reply-to: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr at ncbi dot nlm dot nih dot gov>
The problem maybe in ABI incompatibility with older C++ (not C++11-compliant) run-time libraries:
In C++11 class inheritance for many standard exceptions has changed greatly, so all the run-time
libraries must be recompiled to match the inheritance seen by the compiler in the header files
(when it compiles the executable).
My $0.02
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple