Boost C++11 GCC and MinGW

If you want to use the new C++11 features when compiling boost, you’ll need to add this:

cxxflags=-std=gnu++0x

to your build command line. If you add

cxxflags=-std=std++0x

You will get build errors about something to do with ‘environ’. It took me quite some time to figure this one out.

Advertisements

~ by ra1ndog on November 11, 2011.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: