Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

jeking3
Copy link
Contributor

@jeking3 jeking3 commented Nov 23, 2018

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
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.

None yet

2 participants