[PATCH 1/2] tests: __declspec (dll{ex, im}port) in tests/exceptions.at

2010-09-20 Thread Peter Rosin
Date: Mon, 20 Sep 2010 09:07:25 +0200 Subject: [PATCH 1/2] tests: __declspec (dll{ex,im}port) in tests/exceptions.at * tests/exceptions.at (common.h, module.h, lib.h) [w32]: Use __declspec (dllimport) and __declspec (dllexport) instead of the less portable __attribute__ ((dllimport

Re: [PATCH 1/2] tests: __declspec (dll{ex, im}port) in tests/exceptions.at

2010-09-20 Thread Bob Friesenhahn
that lt__PROGRAM__LTX_preloaded_symbols is globally scoped and extern C. Bob Cheers, Peter From 52972128c5952da628e033e4509208711906c3a2 Mon Sep 17 00:00:00 2001 From: Peter Rosin p...@lysator.liu.se Date: Mon, 20 Sep 2010 09:07:25 +0200 Subject: [PATCH 1/2] tests: __declspec (dll{ex,im}port) in tests

Re: [PATCH 1/2] tests: __declspec (dll{ex, im}port) in tests/exceptions.at

2010-09-20 Thread Peter Rosin
Hi Bob, Den 2010-09-20 17:57 skrev Bob Friesenhahn: On Mon, 20 Sep 2010, Peter Rosin wrote: I have tested this patch on MinGW/gcc and Cygwin/gcc and they are both ok with the __declspec() notation. On MSVC, the test goes from skip to fail, as it needs 2/2. This patch looks good to apply,