Skip to content

fix warning on gcc-7.3 in cygwin claiming master_test_suite is declared differently - #190

Closed
jeking3 wants to merge 1 commit into
boostorg:developfrom
jeking3:fix-decl
Closed

fix warning on gcc-7.3 in cygwin claiming master_test_suite is declared differently#190
jeking3 wants to merge 1 commit into
boostorg:developfrom
jeking3:fix-decl

Conversation

@jeking3

@jeking3 jeking3 commented Nov 23, 2018

Copy link
Copy Markdown
Contributor

See an example here:
https://ci.appveyor.com/project/jeking3/thread/builds/20518379/job/m0ppxtti4invy0ka?fullLog=true#L1459

gcc.compile.c++ bin.v2\libs\thread\test\test_thread_exit.test\gcc-7.3.0\rls\cxstd-03-iso\trgt-os-cygwn\thrdp-pthrd\thrd-mlt\vsblt-hdn\test_thread_exit.o
In file included from ./boost/test/tree/auto_registration.hpp:21:0,
                 from ./boost/test/unit_test_suite.hpp:17,
                 from ./boost/test/unit_test.hpp:19,
                 from libs\thread\test\test_thread_exit.cpp:17:
./boost/test/tree/test_unit.hpp:232:33: warning: 'boost::unit_test::master_test_suite_t& boost::unit_test::framework::master_test_suite()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
     friend master_test_suite_t& boost::unit_test::framework::master_test_suite();
                                 ^~~~~

@raffienficiaud

Copy link
Copy Markdown
Member

Fixed via acbcd74 and 775114e Thanks

@raffienficiaud raffienficiaud added this to the 1.70 milestone Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants