From 4bba79994f37c743e9877469f46c34c169d0b24d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 17 Oct 2013 12:19:23 +0000 Subject: [PATCH] Mention -std=gnu++11 vs -std=c++11 in the build instructions. Unfortunately -std=c++11 doesn't work currently and almost certainly won't before 3.0, so at least document the workaround. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/msw/install.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/msw/install.txt b/docs/msw/install.txt index f63db284c5..b216291e25 100644 --- a/docs/msw/install.txt +++ b/docs/msw/install.txt @@ -393,6 +393,10 @@ latter for developing your applications. If using MinGW, you can download the add-on MSYS package to provide Unix-like tools that you'll need to build wxWidgets using configure. +C++11 note: If you want to compile wxWidgets in C++11 mode, you currently have + to use -std=gnu++11 switch as -std=c++11 disables some extensions + that wxWidgets relies on. I.e. please use CXXFLAGS="-std=gnu++11". + All of these tool chains can be used either with Unix-like configure+make build process (preferred) or with the provided makefile.gcc makefiles without using configure: