EDIT: this is different ffrom the other similar question because I've checked the ways they suggest a different compiler was used for the libraries, and none of the ways appear to be what's happening here
I'm trying to build an application that uses both boost libraries and wxwidgets. I've compiled both of the libraries statically using MinGW, that appears to have gone successfully, although I got a lot of warnings on the boost compile, example:
./boost/concept/assert.hpp:44:5: note: in expansion of macro 'BOOST_CONCEPT_ASSERT_FN'
BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
^
./boost/concept_check.hpp:800:11: note: in expansion of macro 'BOOST_CONCEPT_ASSERT'
BOOST_CONCEPT_ASSERT((Mutable_RandomAccessIterator<typename self::iterator>));
^
./boost/concept/detail/general.hpp:71:20: warning: typedef 'boost_concept_check801' locally defined but not used [-Wunused-local-typedefs]
BOOST_PP_CAT(boost_concept_check,__LINE__)
^
./boost/preprocessor/cat.hpp:29:34: note: in definition of macro 'BOOST_PP_CAT_I'
# define BOOST_PP_CAT_I(a, b) a ## b
The problem though is that when I compile my application in codeblocks, I get the error from the title.
Google suggests this problem is caused by either one of the libraries I am using, or my application, to have been compiled with a different compiler. I am certain they are all using mingw though, boost has option toolset=gcc set, wxwidgets uses mingw32-makefile, and codeblocks is set up to use the only mingw/bin folder I have on my system.
What I'm not sure is it makes a difference on what exact compilers within mingw are used, would it be a problem if boost was done with gcc, while wxwidgets was done with g++?
Here's my compiler output from codeblocks, there's quite a few other errors and warnings, the title error was just the top error: http://pastebin.com/PbRXtecg
What can I do about this? Thanks!